Show local video if both iAmRecorder and iAmSipGateway are set. (#2157)

This commit is contained in:
Дамян Минков 2017-11-10 15:40:53 -06:00 committed by virtuacoplenny
parent 5dbabbe44a
commit 6991eff963
1 changed files with 6 additions and 1 deletions

View File

@ -302,7 +302,12 @@ const Recording = {
if (config.iAmRecorder) { if (config.iAmRecorder) {
VideoLayout.enableDeviceAvailabilityIcons( VideoLayout.enableDeviceAvailabilityIcons(
APP.conference.getMyUserId(), false); APP.conference.getMyUserId(), false);
VideoLayout.setLocalVideoVisible(false);
// in case of iAmSipGateway keep local video visible
if (!config.iAmSipGateway) {
VideoLayout.setLocalVideoVisible(false);
}
APP.store.dispatch(setToolboxEnabled(false)); APP.store.dispatch(setToolboxEnabled(false));
APP.store.dispatch(setNotificationsEnabled(false)); APP.store.dispatch(setNotificationsEnabled(false));
APP.UI.messageHandler.enablePopups(false); APP.UI.messageHandler.enablePopups(false);