Ver código fonte

fix(filmstrip): do not show video for large video speaker in audio only

When in audio only, the video should not be shown and instead the
avatar should display.
master
Leonard Kim 7 anos atrás
pai
commit
c65ccb0af5
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      modules/UI/videolayout/SmallVideo.js

+ 1
- 1
modules/UI/videolayout/SmallVideo.js Ver arquivo

@@ -550,7 +550,7 @@ SmallVideo.prototype.isVideoPlayable = function() {
550 550
 SmallVideo.prototype.selectDisplayMode = function() {
551 551
     // Display name is always and only displayed when user is on the stage
552 552
     if (this.isCurrentlyOnLargeVideo()) {
553
-        return this.isVideoPlayable()
553
+        return this.isVideoPlayable() && !APP.conference.isAudioOnly()
554 554
             ? DISPLAY_BLACKNESS_WITH_NAME : DISPLAY_AVATAR_WITH_NAME;
555 555
     } else if (this.isVideoPlayable()
556 556
         && this.selectVideoElement().length

Carregando…
Cancelar
Salvar