add webrtc logging
This commit is contained in:
parent
fe0da255dd
commit
d2e097fd05
1 changed files with 8 additions and 0 deletions
|
@ -76,6 +76,14 @@ const Realtime = {
|
|||
},
|
||||
nick: Active.Mapper.id
|
||||
})
|
||||
self.webrtc.webrtc.on('iceFailed', function (peer) {
|
||||
console.log('local ice failure', peer)
|
||||
// local ice failure
|
||||
})
|
||||
self.webrtc.webrtc.on('connectivityError', function (peer) {
|
||||
console.log('remote ice failure', peer)
|
||||
// remote ice failure
|
||||
})
|
||||
|
||||
var $video = $('<video></video>').attr('id', self.videoId)
|
||||
self.localVideo = {
|
||||
|
|
Loading…
Reference in a new issue