| 1 | #include "VideoCaptureInterface.h" |
| 2 | |
| 3 | #include "VideoCaptureInterfaceImpl.h" |
| 4 | |
| 5 | namespace tgcalls { |
| 6 | |
| 7 | std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create( |
| 8 | std::shared_ptr<Threads> threads, std::string deviceId, |
| 9 | std::shared_ptr<PlatformContext> platformContext) { |
| 10 | return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, platformContext, std::move(threads)); |
| 11 | } |
| 12 | |
| 13 | VideoCaptureInterface::~VideoCaptureInterface() = default; |
| 14 | |
| 15 | } // namespace tgcalls |
| 16 |