Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Ivan Sein 2017-02-09 13:10:42 +01:00
Родитель ccad19bc12
Коммит 781d2a2a7c
1 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -14301,7 +14301,8 @@
};
TraceablePeerConnection.prototype.close = function () {
this.trace('stop');
this.trace('stopXXX');
console.trace('Stop Trace');
if (this.peerconnection.signalingState != 'closed') {
this.peerconnection.close();
}
@ -17970,6 +17971,7 @@
}
connection.on('connect', function () {
console.warn('CONNECTED');
self.emit('connectionReady', connection.getSessionid());
self.sessionReady = true;
self.testReadiness();
@ -18068,10 +18070,12 @@
});
this.webrtc.on('iceFailed', function (peer) {
// local ice failure
// TODO: local ice failure
console.error('iceFailed event received');
});
this.webrtc.on('connectivityError', function (peer) {
// remote ice failure
// TODO: remote ice failure
console.error('connectivityError event received');
});
// screensharing events