diff --git a/Telegram/SourceFiles/calls/group/calls_group_call.cpp b/Telegram/SourceFiles/calls/group/calls_group_call.cpp index bc904c118..98e0aa413 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_call.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_call.cpp @@ -2284,6 +2284,7 @@ bool GroupCall::tryCreateScreencast() { setScreenInstanceConnected(networkState); }); }, + .createAudioDeviceModule = Webrtc::LoopbackAudioDeviceModuleCreator(), .videoCapture = _screenCapture, .videoContentType = tgcalls::VideoContentType::Screencast, }; @@ -2291,6 +2292,11 @@ bool GroupCall::tryCreateScreencast() { LOG(("Call Info: Creating group screen instance")); _screenInstance = std::make_unique( std::move(descriptor)); + +#ifdef Q_OS_WIN + _screenInstance->setIsMuted(false); +#endif // Q_OS_WIN + return true; } diff --git a/Telegram/ThirdParty/tgcalls b/Telegram/ThirdParty/tgcalls index 199651eea..3cf1822a7 160000 --- a/Telegram/ThirdParty/tgcalls +++ b/Telegram/ThirdParty/tgcalls @@ -1 +1 @@ -Subproject commit 199651eea31bcc47eed93ea9dfbbcb982fc19a80 +Subproject commit 3cf1822a70e3b84f6a762755e5249b26e915d321 diff --git a/Telegram/cmake/lib_tgcalls.cmake b/Telegram/cmake/lib_tgcalls.cmake index bf1459ff7..d513b1ce3 100644 --- a/Telegram/cmake/lib_tgcalls.cmake +++ b/Telegram/cmake/lib_tgcalls.cmake @@ -35,6 +35,8 @@ PRIVATE CryptoHelper.h EncryptedConnection.cpp EncryptedConnection.h + FakeAudioDeviceModule.cpp + FakeAudioDeviceModule.h InstanceImpl.cpp InstanceImpl.h LogSinkImpl.cpp diff --git a/Telegram/lib_webrtc b/Telegram/lib_webrtc index 9a5a5de7d..5d16a97b5 160000 --- a/Telegram/lib_webrtc +++ b/Telegram/lib_webrtc @@ -1 +1 @@ -Subproject commit 9a5a5de7dcaed2f47a55785c54069182de4e9a92 +Subproject commit 5d16a97b57f0399d552e0c9dd72d27e81f6a8316