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

Method withNativeImplementation

tgcalls/VideoCaptureInterfaceImpl.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void VideoCaptureInterfaceObject::withNativeImplementation(std::function<void(void *)> completion) {
92 if (_videoCapturer) {
93 _videoCapturer->withNativeImplementation(completion);
94 } else {
95 completion(nullptr);
96 }
97}
98
99void VideoCaptureInterfaceObject::setState(VideoState state) {
100 if (_state != state) {

Callers

nothing calls this directly

Calls 1

performMethod · 0.80

Tested by

no test coverage detected