|
|
@ -246,9 +246,12 @@ RemoteVideo.prototype._requestRemoteControlPermissions = function () { |
|
|
|
{user: this.user.getDisplayName() |
|
|
|
{user: this.user.getDisplayName() |
|
|
|
|| interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME} |
|
|
|
|| interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME} |
|
|
|
); |
|
|
|
); |
|
|
|
let pinnedId = this.VideoLayout.getPinnedId(); |
|
|
|
if(result === true) {//the remote control permissions has been granted
|
|
|
|
if(pinnedId !== this.id) { |
|
|
|
// pin the controlled participant
|
|
|
|
this.VideoLayout.handleVideoThumbClicked(this.id); |
|
|
|
let pinnedId = this.VideoLayout.getPinnedId(); |
|
|
|
|
|
|
|
if(pinnedId !== this.id) { |
|
|
|
|
|
|
|
this.VideoLayout.handleVideoThumbClicked(this.id); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, error => { |
|
|
|
}, error => { |
|
|
|
logger.error(error); |
|
|
|
logger.error(error); |
|
|
|