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