mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Screencast with system sound on Windows.
This commit is contained in:
parent
881eb4510e
commit
801c8b6220
4 changed files with 10 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 199651eea31bcc47eed93ea9dfbbcb982fc19a80
|
||||
Subproject commit 3cf1822a70e3b84f6a762755e5249b26e915d321
|
|
@ -35,6 +35,8 @@ PRIVATE
|
|||
CryptoHelper.h
|
||||
EncryptedConnection.cpp
|
||||
EncryptedConnection.h
|
||||
FakeAudioDeviceModule.cpp
|
||||
FakeAudioDeviceModule.h
|
||||
InstanceImpl.cpp
|
||||
InstanceImpl.h
|
||||
LogSinkImpl.cpp
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9a5a5de7dcaed2f47a55785c54069182de4e9a92
|
||||
Subproject commit 5d16a97b57f0399d552e0c9dd72d27e81f6a8316
|
Loading…
Add table
Reference in a new issue