mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Use 'Screencast' video content type.
This commit is contained in:
@@ -407,9 +407,7 @@ bool GroupCall::isScreenSharing() const {
|
||||
|
||||
void GroupCall::toggleVideo(bool active) {
|
||||
if (!active) {
|
||||
if (!isScreenSharing()) {
|
||||
_videoOutgoing->setState(Webrtc::VideoState::Inactive);
|
||||
}
|
||||
_videoOutgoing->setState(Webrtc::VideoState::Inactive);
|
||||
return;
|
||||
}
|
||||
const auto changing = isScreenSharing();
|
||||
@@ -1581,7 +1579,7 @@ void GroupCall::ensureControllerCreated() {
|
||||
});
|
||||
return result;
|
||||
},
|
||||
.enableVideo = true,
|
||||
.videoContentType = tgcalls::VideoContentType::Screencast,
|
||||
};
|
||||
if (Logs::DebugEnabled()) {
|
||||
auto callLogFolder = cWorkingDir() + qsl("DebugLogs");
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: 4a944bc29e...909612ca66
Reference in New Issue
Block a user