simply a little webRTC error handling, add more messages
This commit is contained in:
parent
c5aa3372d2
commit
521dd3efe5
6 changed files with 57 additions and 39 deletions
|
|
@ -79,8 +79,9 @@ angular.module('copayApp.services')
|
|||
}
|
||||
});
|
||||
});
|
||||
w.on('openError', root.onErrorDigest);
|
||||
w.on('connectionError', root.onErrorDigest);
|
||||
w.on('connectionError', function(msg) {
|
||||
root.onErrorDigest(msg);
|
||||
});
|
||||
w.on('connect', function(peerID) {
|
||||
if (peerID) {
|
||||
video.callPeer(peerID, handlePeerVideo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue