mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Screencast with system sound on Windows.
This commit is contained in:
@@ -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<tgcalls::GroupInstanceCustomImpl>(
|
||||
std::move(descriptor));
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
_screenInstance->setIsMuted(false);
|
||||
#endif // Q_OS_WIN
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 199651eea3...3cf1822a70
@@ -35,6 +35,8 @@ PRIVATE
|
||||
CryptoHelper.h
|
||||
EncryptedConnection.cpp
|
||||
EncryptedConnection.h
|
||||
FakeAudioDeviceModule.cpp
|
||||
FakeAudioDeviceModule.h
|
||||
InstanceImpl.cpp
|
||||
InstanceImpl.h
|
||||
LogSinkImpl.cpp
|
||||
|
||||
+1
-1
Submodule Telegram/lib_webrtc updated: 9a5a5de7dc...5d16a97b57
Reference in New Issue
Block a user