2020-08-14 16:58:22 +00:00
|
|
|
#include "VideoCaptureInterface.h"
|
|
|
|
|
|
|
|
#include "VideoCaptureInterfaceImpl.h"
|
|
|
|
|
|
|
|
namespace tgcalls {
|
|
|
|
|
2020-10-01 01:59:32 +00:00
|
|
|
std::unique_ptr<VideoCaptureInterface> VideoCaptureInterface::Create(std::string deviceId, std::shared_ptr<PlatformContext> platformContext) {
|
|
|
|
return std::make_unique<VideoCaptureInterfaceImpl>(deviceId, platformContext);
|
2020-08-14 16:58:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VideoCaptureInterface::~VideoCaptureInterface() = default;
|
|
|
|
|
|
|
|
} // namespace tgcalls
|