mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-23 06:50:36 +01:00
15 lines
467 B
C++
15 lines
467 B
C++
#include "VideoCaptureInterface.h"
|
|
|
|
#include "VideoCaptureInterfaceImpl.h"
|
|
|
|
namespace tgcalls {
|
|
|
|
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));
|
|
}
|
|
|
|
VideoCaptureInterface::~VideoCaptureInterface() = default;
|
|
|
|
} // namespace tgcalls
|