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:
Leonard Kim 2017-11-14 11:09:42 -08:00 committed by yanas
parent fcb3ca836f
commit c2f5afe9c2
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}