Sip.js: ์ดˆ๋Œ€๊ฐ€ ์ทจ์†Œ๋˜์—ˆ์„ ๋•Œ ํ”ผ์–ด ์—ฐ๊ฒฐ์ด ์—ด๋ฆฐ ์ƒํƒœ๋กœ ์œ ์ง€๋จ

์— ๋งŒ๋“  2018๋…„ 03์›” 20์ผ  ยท  1๋…ผํ‰  ยท  ์ถœ์ฒ˜: onsip/SIP.js

์ดˆ๋Œ€๊ฐ€ ์‹œ์ž‘๋œ ์งํ›„ ์„ธ์…˜์—์„œ terminate() ๋ฅผ ํ˜ธ์ถœํ•˜๋ฉด ์„ธ์…˜ ์„ค๋ช… ์ฒ˜๋ฆฌ๊ธฐ๊ฐ€ ์—ฌ์ „ํžˆ ํ”ผ์–ด ์—ฐ๊ฒฐ์ด ์—ด๋ ค ์žˆ๋Š” ์ƒํƒœ๊ฐ€ ๋ฉ๋‹ˆ๋‹ค. ํฌ๋กฌ์—์„œ ์‹คํ–‰ ์ค‘์ธ ๊ฒฝ์šฐ ์‹œ๊ฐ์  ์•„ํ‹ฐํŒฉํŠธ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋งˆ์ดํฌ ์•ก์„ธ์Šค๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” "๋นจ๊ฐ„์ƒ‰ ์ "์€ ์ข…๋ฃŒ ํ›„์—๋„ ํƒญ์— ๊ณ„์† ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์ƒ˜ํ”Œ ์ถ”์ :

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-outreach ๋‹˜,
์ด๊ฒƒ์€ ํ•ฉ๋ฒ•์ ์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ๋‹ค์Œ ๋ฆด๋ฆฌ์Šค์—์„œ ์ˆ˜์ •ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๊ทธ ๋™์•ˆ icecheckingtimeout์„ ๋‚ฎ์ถ”๋ฉด ์ด ๋ฌธ์ œ๋ฅผ ํ”ผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค(์ข…๋ฃŒ ์ „์— ๋ฐœ์ƒํ•˜๊ฑฐ๋‚˜ ๋ถˆํ•„์š”ํ•œ ํ•œ).

๊ฐ์‚ฌ ํ•ด์š”,
์ œ์ž„์Šค

>๋ชจ๋“  ๋Œ“๊ธ€

์•ˆ๋…•ํ•˜์„ธ์š” @seth-outreach ๋‹˜,
์ด๊ฒƒ์€ ํ•ฉ๋ฒ•์ ์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ๋‹ค์Œ ๋ฆด๋ฆฌ์Šค์—์„œ ์ˆ˜์ •ํ•˜๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๊ทธ ๋™์•ˆ icecheckingtimeout์„ ๋‚ฎ์ถ”๋ฉด ์ด ๋ฌธ์ œ๋ฅผ ํ”ผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค(์ข…๋ฃŒ ์ „์— ๋ฐœ์ƒํ•˜๊ฑฐ๋‚˜ ๋ถˆํ•„์š”ํ•œ ํ•œ).

๊ฐ์‚ฌ ํ•ด์š”,
์ œ์ž„์Šค

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰