fix(large-video): switch to dominant speaker with no video
On DOMINANT_SPEAKER_CHANGED events, switch to the new dominant speaker regardless of if the speaker has video; it's okay to show the speaker's avatar.
This commit is contained in:
parent
fcb3ca836f
commit
c2f5afe9c2
|
@ -721,11 +721,7 @@ const VideoLayout = {
|
|||
|
||||
// Local video will not have container found, but that's ok
|
||||
// since we don't want to switch to local video.
|
||||
// Update the large video if the video source is already available,
|
||||
// otherwise wait for the "videoactive.jingle" event.
|
||||
// FIXME: there is no "videoactive.jingle" event.
|
||||
if (!interfaceConfig.filmStripOnly && !this.getPinnedId()
|
||||
&& remoteVideo.hasVideoStarted()
|
||||
&& !this.getCurrentlyOnLargeContainer().stayOnStage()) {
|
||||
this.updateLargeVideo(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue