fix(remotecontrol): Log level
This commit is contained in:
parent
bd98d661d3
commit
b62e4d5ee9
|
@ -80,7 +80,7 @@ export default class Controller extends RemoteControlParticipant {
|
||||||
return Promise.reject(new Error("Remote control is disabled!"));
|
return Promise.reject(new Error("Remote control is disabled!"));
|
||||||
}
|
}
|
||||||
this.area = eventCaptureArea;// $("#largeVideoWrapper")
|
this.area = eventCaptureArea;// $("#largeVideoWrapper")
|
||||||
logger.debug("Requsting remote control permissions from: " + userId);
|
logger.log("Requsting remote control permissions from: " + userId);
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const clearRequest = () => {
|
const clearRequest = () => {
|
||||||
this.requestedParticipant = null;
|
this.requestedParticipant = null;
|
||||||
|
@ -143,7 +143,7 @@ export default class Controller extends RemoteControlParticipant {
|
||||||
switch(remoteControlEvent.action) {
|
switch(remoteControlEvent.action) {
|
||||||
case PERMISSIONS_ACTIONS.grant: {
|
case PERMISSIONS_ACTIONS.grant: {
|
||||||
this.controlledParticipant = userId;
|
this.controlledParticipant = userId;
|
||||||
logger.debug("Remote control permissions granted to: "
|
logger.log("Remote control permissions granted to: "
|
||||||
+ userId);
|
+ userId);
|
||||||
this._start();
|
this._start();
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -126,7 +126,7 @@ export default class Receiver extends RemoteControlParticipant {
|
||||||
}
|
}
|
||||||
APP.API.sendRemoteControlEvent(remoteControlEvent);
|
APP.API.sendRemoteControlEvent(remoteControlEvent);
|
||||||
} else if(event.type === REMOTE_CONTROL_EVENT_TYPE) {
|
} else if(event.type === REMOTE_CONTROL_EVENT_TYPE) {
|
||||||
logger.debug("Remote control event is ignored because remote "
|
logger.log("Remote control event is ignored because remote "
|
||||||
+ "control is disabled", event);
|
+ "control is disabled", event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ export default class Receiver extends RemoteControlParticipant {
|
||||||
APP.conference.addConferenceListener(ConferenceEvents.USER_LEFT,
|
APP.conference.addConferenceListener(ConferenceEvents.USER_LEFT,
|
||||||
this._userLeftListener);
|
this._userLeftListener);
|
||||||
this.controller = userId;
|
this.controller = userId;
|
||||||
logger.debug("Remote control permissions granted to: " + userId);
|
logger.log("Remote control permissions granted to: " + userId);
|
||||||
if(!APP.conference.isSharingScreen) {
|
if(!APP.conference.isSharingScreen) {
|
||||||
APP.conference.toggleScreenSharing();
|
APP.conference.toggleScreenSharing();
|
||||||
APP.conference.screenSharingPromise.then(() => {
|
APP.conference.screenSharingPromise.then(() => {
|
||||||
|
|
Loading…
Reference in New Issue