diff --git a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm index 936878d38d..ec68c893c5 100644 --- a/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm +++ b/submodules/TgVoipWebrtc/Sources/OngoingCallThreadLocalContext.mm @@ -243,7 +243,10 @@ tgcalls::VideoCaptureInterfaceObject *GetVideoCaptureAssumingSameThread(tgcalls: } -(void)setOnFatalError:(dispatch_block_t _Nullable)onError { +#if TARGET_OS_IOS +#else _interface->setOnFatalError(onError); +#endif } - (void)makeOutgoingVideoView:(void (^_Nonnull)(UIView * _Nullable))completion { @@ -967,8 +970,8 @@ private: } std::vector videoCodecPreferences; - //videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP8); - videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP9); + videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP8); + //videoCodecPreferences.push_back(tgcalls::VideoCodecName::VP9); int minOutgoingVideoBitrateKbit = 100; #if DEBUG diff --git a/submodules/TgVoipWebrtc/tgcalls b/submodules/TgVoipWebrtc/tgcalls index 94a9c7b4e4..bffd2b4131 160000 --- a/submodules/TgVoipWebrtc/tgcalls +++ b/submodules/TgVoipWebrtc/tgcalls @@ -1 +1 @@ -Subproject commit 94a9c7b4e49c943d1ca108e35779739ad99d695a +Subproject commit bffd2b41310e773ef4d7560fbf6703e5fefb6020