1
0
mirror of https://github.com/vector-im/element-call.git synced 2022-05-22 02:31:18 +03:00

Add comment

This commit is contained in:
David Baker
2022-05-13 18:09:45 +01:00
parent 0f687fb8b8
commit d34c8d08a4

View File

@@ -119,7 +119,11 @@ export const usePTT = (
activeSpeakerUserId === client.getUserId() &&
activeSpeakerFeed?.userId !== client.getUserId()
) {
// We were talking but we've been cut off
// We were talking but we've been cut off: mute our own mic
// (this is the easier way of cutting other speakers off if an
// admin barges in: we could also mute the non-admin speaker
// on all receivers, but we'd have to make sure we unmuted them
// correctly.)
setMicMuteWrapper(true);
blocked = true;
playClip(PTTClipID.BLOCKED);