Add comment
This commit is contained in:
parent
0f687fb8b8
commit
d34c8d08a4
1 changed files with 5 additions and 1 deletions
|
@ -119,7 +119,11 @@ export const usePTT = (
|
||||||
activeSpeakerUserId === client.getUserId() &&
|
activeSpeakerUserId === client.getUserId() &&
|
||||||
activeSpeakerFeed?.userId !== 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);
|
setMicMuteWrapper(true);
|
||||||
blocked = true;
|
blocked = true;
|
||||||
playClip(PTTClipID.BLOCKED);
|
playClip(PTTClipID.BLOCKED);
|
||||||
|
|
Loading…
Add table
Reference in a new issue