openvidu-browser: Session.onRecoveredConnection cleaned up

pull/87/merge
pabloFuente 2018-07-10 12:40:14 +02:00
parent 017e79fd8a
commit 88ab505763
1 changed files with 1 additions and 13 deletions

View File

@ -869,22 +869,10 @@ export class Session implements EventDispatcher {
}
}
/**
/**
* @hidden
*/
onRecoveredConnection(): void {
/*if (!this.connection) {
console.warn('Not connected to session: if you are not debugging, this is probably a certificate error');
const url = 'https://' + this.openvidu.getWsUri().split('wss://')[1].split('/openvidu')[0];
if (window.confirm('If you are not debugging, this is probably a certificate error at \"' + url + '\"\n\nClick OK to navigate and accept it')) {
location.assign(url + '/accept-certificate');
}
return;
}*/
console.warn('Recovered connection in Session ' + this.sessionId);
this.ee.emitEvent('connectionRecovered', []);
}