2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Support receiving RTMP streams in group calls.

This commit is contained in:
John Preston
2022-02-25 14:14:15 +03:00
parent 9d200017c3
commit 1de35cf8ef
17 changed files with 189 additions and 57 deletions

View File

@@ -214,6 +214,9 @@ void Instance::startOrJoinGroupCall(
}, [=](Group::JoinInfo info) {
const auto call = info.peer->groupCall();
info.joinHash = joinHash;
if (call) {
info.rtmp = call->rtmp();
}
createGroupCall(
std::move(info),
call ? call->input() : MTP_inputGroupCall(MTPlong(), MTPlong()));