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!"));
|
||||
}
|
||||
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) => {
|
||||
const clearRequest = () => {
|
||||
this.requestedParticipant = null;
|
||||
|
@ -143,7 +143,7 @@ export default class Controller extends RemoteControlParticipant {
|
|||
switch(remoteControlEvent.action) {
|
||||
case PERMISSIONS_ACTIONS.grant: {
|
||||
this.controlledParticipant = userId;
|
||||
logger.debug("Remote control permissions granted to: "
|
||||
logger.log("Remote control permissions granted to: "
|
||||
+ userId);
|
||||
this._start();
|
||||
return true;
|
||||
|
|
|
@ -126,7 +126,7 @@ export default class Receiver extends RemoteControlParticipant {
|
|||
}
|
||||
APP.API.sendRemoteControlEvent(remoteControlEvent);
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ export default class Receiver extends RemoteControlParticipant {
|
|||
APP.conference.addConferenceListener(ConferenceEvents.USER_LEFT,
|
||||
this._userLeftListener);
|
||||
this.controller = userId;
|
||||
logger.debug("Remote control permissions granted to: " + userId);
|
||||
logger.log("Remote control permissions granted to: " + userId);
|
||||
if(!APP.conference.isSharingScreen) {
|
||||
APP.conference.toggleScreenSharing();
|
||||
APP.conference.screenSharingPromise.then(() => {
|
||||
|
|
Loading…
Reference in New Issue