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

Handle "video_joined" flag in self participant.

This commit is contained in:
John Preston
2021-06-08 19:27:26 +04:00
parent 054223efe0
commit 84f6a5f957
6 changed files with 66 additions and 39 deletions

View File

@@ -590,6 +590,7 @@ void GroupCall::applyParticipantsSlice(
: data.is_muted_by_you();
const auto onlyMinLoaded = data.is_min()
&& (!was || was->onlyMinLoaded);
const auto videoJoined = data.is_video_joined();
const auto raisedHandRating
= data.vraise_hand_rating().value_or_empty();
const auto localUpdate = (sliceSource
@@ -617,6 +618,7 @@ void GroupCall::applyParticipantsSlice(
.mutedByMe = mutedByMe,
.canSelfUnmute = canSelfUnmute,
.onlyMinLoaded = onlyMinLoaded,
.videoJoined = videoJoined,
};
if (i == end(_participants)) {
_participantPeerByAudioSsrc.emplace(