Updates raised hand to overwrite dominant speaker.
This commit is contained in:
parent
17b57ea852
commit
6320ef1caa
|
@ -1812,14 +1812,10 @@ export default {
|
|||
},
|
||||
|
||||
/**
|
||||
* Toggles the local "raised hand" status, if the current state allows
|
||||
* toggling.
|
||||
* Toggles the local "raised hand" status.
|
||||
*/
|
||||
maybeToggleRaisedHand() {
|
||||
// If we are the dominant speaker, we don't enable "raise hand".
|
||||
if (this.isHandRaised || !this.isDominantSpeaker) {
|
||||
this.setRaisedHand(!this.isHandRaised);
|
||||
}
|
||||
this.setRaisedHand(!this.isHandRaised);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -593,6 +593,9 @@ var VideoLayout = {
|
|||
? localVideoThumbnail : remoteVideos[id];
|
||||
if (video) {
|
||||
video.showRaisedHandIndicator(raisedHandStatus);
|
||||
if (raisedHandStatus) {
|
||||
video.showDominantSpeakerIndicator(false);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue