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);
|
setScreenInstanceConnected(networkState);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
.createAudioDeviceModule = Webrtc::LoopbackAudioDeviceModuleCreator(),
|
||||||
.videoCapture = _screenCapture,
|
.videoCapture = _screenCapture,
|
||||||
.videoContentType = tgcalls::VideoContentType::Screencast,
|
.videoContentType = tgcalls::VideoContentType::Screencast,
|
||||||
};
|
};
|
||||||
|
@ -2291,6 +2292,11 @@ bool GroupCall::tryCreateScreencast() {
|
||||||
LOG(("Call Info: Creating group screen instance"));
|
LOG(("Call Info: Creating group screen instance"));
|
||||||
_screenInstance = std::make_unique<tgcalls::GroupInstanceCustomImpl>(
|
_screenInstance = std::make_unique<tgcalls::GroupInstanceCustomImpl>(
|
||||||
std::move(descriptor));
|
std::move(descriptor));
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
_screenInstance->setIsMuted(false);
|
||||||
|
#endif // Q_OS_WIN
|
||||||
|
|
||||||
return true;
|
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
|
CryptoHelper.h
|
||||||
EncryptedConnection.cpp
|
EncryptedConnection.cpp
|
||||||
EncryptedConnection.h
|
EncryptedConnection.h
|
||||||
|
FakeAudioDeviceModule.cpp
|
||||||
|
FakeAudioDeviceModule.h
|
||||||
InstanceImpl.cpp
|
InstanceImpl.cpp
|
||||||
InstanceImpl.h
|
InstanceImpl.h
|
||||||
LogSinkImpl.cpp
|
LogSinkImpl.cpp
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9a5a5de7dcaed2f47a55785c54069182de4e9a92
|
Subproject commit 5d16a97b57f0399d552e0c9dd72d27e81f6a8316
|
Loading…
Reference in a new issue