| 6 | namespace tgcalls { |
| 7 |
| 8 | std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create( |
| 9 | std::shared_ptr<Threads> threads, std::string deviceId, bool isScreenCapture, |
| 10 | std::shared_ptr<PlatformContext> platformContext) { |
| 11 | return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, isScreenCapture, platformContext, std::move(threads)); |
| 12 | } |
| 13 |
| 14 | VideoCaptureInterface::~VideoCaptureInterface() = default; |
| 15 |
| 16 | } // namespace tgcalls |
| 17 |