Update variable name to pinnedId.
This commit is contained in:
parent
94d98ec0ab
commit
27607e8754
|
@ -215,7 +215,6 @@ var VideoLayout = {
|
||||||
newId = currentDominantSpeaker;
|
newId = currentDominantSpeaker;
|
||||||
else // Otherwise select last visible video
|
else // Otherwise select last visible video
|
||||||
newId = this.electLastVisibleVideo();
|
newId = this.electLastVisibleVideo();
|
||||||
}
|
|
||||||
|
|
||||||
this.updateLargeVideo(newId);
|
this.updateLargeVideo(newId);
|
||||||
},
|
},
|
||||||
|
@ -982,9 +981,8 @@ var VideoLayout = {
|
||||||
// (pinned remote video) use its video type,
|
// (pinned remote video) use its video type,
|
||||||
// if not then use default type - large video
|
// if not then use default type - large video
|
||||||
if (!show) {
|
if (!show) {
|
||||||
if(focusedVideoResourceJid)
|
if(pinnedId)
|
||||||
containerTypeToShow = this.getRemoteVideoType(
|
containerTypeToShow = this.getRemoteVideoType(pinnedId);
|
||||||
focusedVideoResourceJid);
|
|
||||||
else
|
else
|
||||||
containerTypeToShow = VIDEO_CONTAINER_TYPE;
|
containerTypeToShow = VIDEO_CONTAINER_TYPE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue