Ver código fonte

Update variable name to pinnedId.

master
damencho 9 anos atrás
pai
commit
27607e8754
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2
    4
      modules/UI/videolayout/VideoLayout.js

+ 2
- 4
modules/UI/videolayout/VideoLayout.js Ver arquivo

215
             newId = currentDominantSpeaker;
215
             newId = currentDominantSpeaker;
216
         else // Otherwise select last visible video
216
         else // Otherwise select last visible video
217
             newId = this.electLastVisibleVideo();
217
             newId = this.electLastVisibleVideo();
218
-        }
219
 
218
 
220
         this.updateLargeVideo(newId);
219
         this.updateLargeVideo(newId);
221
     },
220
     },
982
         // (pinned remote video) use its video type,
981
         // (pinned remote video) use its video type,
983
         // if not then use default type - large video
982
         // if not then use default type - large video
984
         if (!show) {
983
         if (!show) {
985
-            if(focusedVideoResourceJid)
986
-                containerTypeToShow = this.getRemoteVideoType(
987
-                    focusedVideoResourceJid);
984
+            if(pinnedId)
985
+                containerTypeToShow = this.getRemoteVideoType(pinnedId);
988
             else
986
             else
989
                 containerTypeToShow = VIDEO_CONTAINER_TYPE;
987
                 containerTypeToShow = VIDEO_CONTAINER_TYPE;
990
         }
988
         }

Carregando…
Cancelar
Salvar