From 88ab5057638222c345b064b07517bb95e312322b Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Tue, 10 Jul 2018 12:40:14 +0200 Subject: [PATCH] openvidu-browser: Session.onRecoveredConnection cleaned up --- openvidu-browser/src/OpenVidu/Session.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/openvidu-browser/src/OpenVidu/Session.ts b/openvidu-browser/src/OpenVidu/Session.ts index b86a4221..0074890c 100644 --- a/openvidu-browser/src/OpenVidu/Session.ts +++ b/openvidu-browser/src/OpenVidu/Session.ts @@ -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', []); }