Sip.js: ترك اتصال النظير مفتوحًا عند إلغاء الدعوة

تم إنشاؤها على ٢٠ مارس ٢٠١٨  ·  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
bug

التعليق الأكثر فائدة

مرحبًا @ seth-outreach ،
يبدو هذا شرعيًا ، وسوف نتطلع إلى إصلاحه للإصدار التالي. في غضون ذلك ، يمكنك تقليل مهلة التحقق من الجليد ، والذي يبدو أنه يتجنب هذه المشكلة (طالما أن ذلك حرائق أو غير ضروري قبل الإنهاء).

شكرا،
جوامع

>كل التعليقات

مرحبًا @ seth-outreach ،
يبدو هذا شرعيًا ، وسوف نتطلع إلى إصلاحه للإصدار التالي. في غضون ذلك ، يمكنك تقليل مهلة التحقق من الجليد ، والذي يبدو أنه يتجنب هذه المشكلة (طالما أن ذلك حرائق أو غير ضروري قبل الإنهاء).

شكرا،
جوامع

هل كانت هذه الصفحة مفيدة؟
0 / 5 - 0 التقييمات