MCPcopy Create free account
hub / github.com/TelegramMessenger/tgcalls / VideoCaptureInterfaceImpl

Method VideoCaptureInterfaceImpl

tgcalls/VideoCaptureInterfaceImpl.cpp:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169VideoCaptureInterfaceImpl::VideoCaptureInterfaceImpl(std::string deviceId, bool isScreenCapture, std::shared_ptr<PlatformContext> platformContext, std::shared_ptr<Threads> threads) :
170_impl(threads->getMediaThread(), [deviceId, isScreenCapture, platformContext, threads]() {
171 return std::make_shared<VideoCaptureInterfaceObject>(deviceId, isScreenCapture, platformContext, *threads);
172}) {
173}
174
175VideoCaptureInterfaceImpl::~VideoCaptureInterfaceImpl() = default;
176

Callers

nothing calls this directly

Calls 1

getMediaThreadMethod · 0.80

Tested by

no test coverage detected