diff --git a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm index f061d7e184..948fd87723 100644 --- a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm +++ b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm @@ -7,6 +7,7 @@ #import "Instance.h" #import "InstanceImpl.h" #import "reference/InstanceImplReference.h" +#include "StaticThreads.h" #import "VideoCaptureInterface.h" @@ -158,7 +159,7 @@ if (keepLandscape) { resolvedId += std::string(":landscape"); } - _interface = tgcalls::VideoCaptureInterface::Create(resolvedId); + _interface = tgcalls::VideoCaptureInterface::Create(tgcalls::StaticThreads::getThreads(), resolvedId); } return self; } @@ -863,6 +864,7 @@ private: __weak GroupCallThreadLocalContext *weakSelf = self; _instance.reset(new tgcalls::GroupInstanceCustomImpl((tgcalls::GroupInstanceDescriptor){ + .threads = tgcalls::StaticThreads::getThreads(), .networkStateUpdated = [weakSelf, queue, networkStateUpdated](tgcalls::GroupNetworkState networkState) { [queue dispatch:^{ __strong GroupCallThreadLocalContext *strongSelf = weakSelf; diff --git a/submodules/TgVoipWebrtc/tgcalls b/submodules/TgVoipWebrtc/tgcalls index 943d24ab5c..4a95374737 160000 --- a/submodules/TgVoipWebrtc/tgcalls +++ b/submodules/TgVoipWebrtc/tgcalls @@ -1 +1 @@ -Subproject commit 943d24ab5c86d2e4d739e82234b4d14210433ca0 +Subproject commit 4a953747375b8648f8b66e9572b59b10f7b769a1