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(
|
|
|
|
std::shared_ptr<Threads> threads, std::string deviceId,
|
|
|
|
std::shared_ptr<PlatformContext> platformContext) {
|
|
|
|
return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, platformContext, std::move(threads));
|
2020-08-14 16:58:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VideoCaptureInterface::~VideoCaptureInterface() = default;
|
|
|
|
|
|
|
|
} // namespace tgcalls
|