Show local video if both iAmRecorder and iAmSipGateway are set. (#2157)
This commit is contained in:
parent
5dbabbe44a
commit
6991eff963
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue