1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-06 23:53:47 +00:00
NekoX/TMessagesProj/jni/voip/tgcalls/VideoCaptureInterface.cpp

16 lines
506 B
C++
Raw Normal View History

2020-08-14 16:58:22 +00:00
#include "VideoCaptureInterface.h"
#include "VideoCaptureInterfaceImpl.h"
namespace tgcalls {
2021-03-19 10:25:58 +00:00
std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create(
2021-07-30 14:49:55 +00:00
std::shared_ptr<Threads> threads, std::string deviceId, bool isScreenCapture,
2021-03-19 10:25:58 +00:00
std::shared_ptr<PlatformContext> platformContext) {
2021-07-30 14:49:55 +00:00
return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, isScreenCapture, platformContext, std::move(threads));
2020-08-14 16:58:22 +00:00
}
VideoCaptureInterface::~VideoCaptureInterface() = default;
} // namespace tgcalls