@subiz/wsclient 4.0.8 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/webrtc.js +2 -1
package/package.json
CHANGED
package/webrtc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var flow = require('@subiz/flow')
|
|
2
2
|
var {xhrsend} = require('./common.js')
|
|
3
3
|
const servers = {
|
|
4
|
-
iceServers: [{urls: ['stun:stun.l.google.com:19302
|
|
4
|
+
iceServers: [{urls: ['stun:stun.l.google.com:19302']}],
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
// let connId = 'webrtc' + randomString(20)
|
|
@@ -291,6 +291,7 @@ function WebRTCConn(options) {
|
|
|
291
291
|
}
|
|
292
292
|
body = parseJSON(body)
|
|
293
293
|
if (body) activeCalls[callid] = body
|
|
294
|
+
delete dialingRequest[callid]
|
|
294
295
|
rs({body})
|
|
295
296
|
})
|
|
296
297
|
})
|