1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-04 11:13:36 +00:00
NekoX/TMessagesProj/jni/voip/tgcalls/VideoCaptureInterface.cpp
2021-07-30 21:49:55 +07:00

16 lines
506 B
C++

#include "VideoCaptureInterface.h"
#include "VideoCaptureInterfaceImpl.h"
namespace tgcalls {
std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create(
std::shared_ptr<Threads> threads, std::string deviceId, bool isScreenCapture,
std::shared_ptr<PlatformContext> platformContext) {
return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, isScreenCapture, platformContext, std::move(threads));
}
VideoCaptureInterface::~VideoCaptureInterface() = default;
} // namespace tgcalls