fix(large-video): return to dominant speaker without video
Always switch to the dominant speaker after unpinning instead of conditionally checking if the current dominant speaker has video.
This commit is contained in:
parent
ef813fbf71
commit
fcb3ca836f
|
@ -410,9 +410,7 @@ const VideoLayout = {
|
|||
|
||||
// Enable the currently set dominant speaker.
|
||||
if (currentDominantSpeaker) {
|
||||
if (smallVideo && smallVideo.hasVideo()) {
|
||||
this.updateLargeVideo(currentDominantSpeaker);
|
||||
}
|
||||
} else {
|
||||
// if there is no currentDominantSpeaker, it can also be
|
||||
// that local participant is the dominant speaker
|
||||
|
|
Loading…
Reference in New Issue