Update variable name to pinnedId.

This commit is contained in:
damencho 2016-03-24 13:16:42 -05:00
parent 94d98ec0ab
commit 27607e8754
1 changed files with 2 additions and 4 deletions

View File

@ -215,7 +215,6 @@ var VideoLayout = {
newId = currentDominantSpeaker;
else // Otherwise select last visible video
newId = this.electLastVisibleVideo();
}
this.updateLargeVideo(newId);
},
@ -982,9 +981,8 @@ var VideoLayout = {
// (pinned remote video) use its video type,
// if not then use default type - large video
if (!show) {
if(focusedVideoResourceJid)
containerTypeToShow = this.getRemoteVideoType(
focusedVideoResourceJid);
if(pinnedId)
containerTypeToShow = this.getRemoteVideoType(pinnedId);
else
containerTypeToShow = VIDEO_CONTAINER_TYPE;
}