Sip.js: 取消邀请时对等连接保持打开状态

创建于 2018-03-20  ·  1评论  ·  资料来源: onsip/SIP.js

在邀请开始后立即在会话上调用terminate()将使您处于会话描述处理程序仍然具有打开的对等连接的状态。 如果您在 chrome 中运行,您可以看到一个可见的工件:“红点”指示麦克风访问在终止后仍会出现在选项卡上。

样品跟踪:

sip.invitecontext.sessionDescriptionHandler | initPeerConnection
sip.invitecontext.sessionDescriptionHandler | New peer connection created 
sip.invitecontext.sessionDescriptionHandler | acquiring local media
sip.invitecontext.sessionDescriptionHandler | acquired local media streams
sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: gathering
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:374261915 1 udp 2122260223 192.168.13.1 53697 typ host generation 0 ufrag qWW2 network-id 3 network-cost 50
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:3256280924 1 udp 2122194687 10.40.9.41 62363 typ host generation 0 ufrag qWW2 network-id 2
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:1746874327 1 udp 2122129151 10.40.9.43 60961 typ host generation 0 ufrag qWW2 network-id 1 network-cost 10
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:557277616 1 udp 1685987071 74.85.92.138 62363 typ srflx raddr 10.40.9.41 rport 62363 generation 0 ufrag qWW2 network-id 2
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2336139579 1 udp 1685921535 74.85.92.138 60961 typ srflx raddr 10.40.9.43 rport 60961 generation 0 ufrag qWW2 network-id 1 network-cost 10
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:1489843307 1 tcp 1518280447 192.168.13.1 9 typ host tcptype active generation 0 ufrag qWW2 network-id 3 network-cost 50
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:2358582188 1 tcp 1518214911 10.40.9.41 9 typ host tcptype active generation 0 ufrag qWW2 network-id 2
sip.invitecontext.sessionDescriptionHandler | ICE candidate received: candidate:647811879 1 tcp 1518149375 10.40.9.43 9 typ host tcptype active generation 0 ufrag qWW2 network-id 1 network-cost 10
sip.inviteclientcontext | canceling RTCSession
sip.invitecontext.sessionDescriptionHandler | RTCIceChecking Timeout Triggered after 5000 milliseconds
sip.invitecontext.sessionDescriptionHandler | RTCIceGatheringState changed: complete

最有用的评论

嗨@seth-外展,
这看起来是合法的,我们将在下一个版本中修复它。 同时,您可以降低您的 icecheckingtimeout,这似乎可以避免这个问题(只要在终止之前触发或不必要)。

谢谢,
詹姆士

>所有评论

嗨@seth-外展,
这看起来是合法的,我们将在下一个版本中修复它。 同时,您可以降低您的 icecheckingtimeout,这似乎可以避免这个问题(只要在终止之前触发或不必要)。

谢谢,
詹姆士

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

seanbright picture seanbright  ·  3评论

josephfrazier picture josephfrazier  ·  26评论

raphaelhovsepyan picture raphaelhovsepyan  ·  6评论

slavikbialik picture slavikbialik  ·  7评论

DenisButCheR picture DenisButCheR  ·  7评论