Kurento / bugtracker

[ARCHIVED] Contents migrated to monorepo: https://github.com/Kurento/kurento
46 stars 10 forks source link

ICE candidate failed in Firefox browser #563

Closed gaorongfu closed 3 years ago

gaorongfu commented 3 years ago

INFO about your Application Server & Kurento Media Server, On same server

Kurento version: 6.15 stable Server OS:18.04 (Bionic) Installation method:Built from sources Programming Language: Java Kurento Client version: 6.15 stable

INFO about end-user clients

Device(s): PC Firefox Version: 84.0 OS: Windows 10

INFO about your environment

TURN/STUN Server: coturn

I use kurento media server to forward RTSP stream of IP camera . Both them are behind NAT and my browser behind another NAT. With Chrome browser, It can play video stream successfully every time, and with webrtc debug tools I can see my TURN/STUN server is used. But when use Firefox browser, I test more than twenty times, none success. I got the error message every time "WebRTC: ICE failed, see about:webrtc for more details" With about:webrtc tools, I found no ICE candidate be used. This is trace log of FF:

PeerConnection ID: 1608616049041000 (id=2147483658 url=https://test.safecld.com/sc/back/video-list/index?type=1) RTCConfiguration bundlePolicy: balanced iceTransportPolicy: all peerIdentity(提供/不提供): 不提供 sdpSemantics: 不提供 iceServers: urls: ["stun:129.211.67.65:4478"] credential(提供/不提供): 不提供 userName(提供/不提供): 不提供 urls: ["turn:129.211.67.65:4478"] credential(提供/不提供): 提供 userName(提供/不提供): 提供 ICE 状态 Trickled 候选者(回答后到达)已用 蓝色 高亮ICE 统计 已提名 已选定 本地候选 远程候选 组件 ID 优先级 已发送字节 已接收字节

ICE 重启: 0 ICE 回滚: 0 所有原始候选者 ▼ 显示原始候选者 SDP 本地 SDP (提供)

v=0 o=mozilla...THIS_IS_SDPARTA-84.0 5815645966668186097 0 IN IP4 0.0.0.0 s=- t=0 0 a=sendrecv a=fingerprint:sha-256 40:55:E0:BB:F0:24:AE:03:76:AD:AD:82:9F:F1:05:94:4D:FE:A5:04:14:53:08:93:EC:E6:48:5B:3F:9E:9C:23 a=group:BUNDLE 0 1 a=ice-options:trickle a=msid-semantic:WMS * m=audio 58020 UDP/TLS/RTP/SAVPF 109 9 0 8 101 c=IN IP4 129.211.67.65 a=candidate:0 1 UDP 2122252543 192.168.1.3 50206 typ host a=candidate:4 1 TCP 2105524479 192.168.1.3 9 typ host tcptype active a=candidate:0 2 UDP 2122252542 192.168.1.3 50207 typ host a=candidate:4 2 TCP 2105524478 192.168.1.3 9 typ host tcptype active a=candidate:1 1 UDP 1686052863 101.86.108.171 41295 typ srflx raddr 192.168.1.3 rport 50206 a=candidate:3 1 UDP 92217087 129.211.67.65 58020 typ relay raddr 129.211.67.65 rport 58020 a=candidate:1 2 UDP 1686052862 101.86.108.171 41296 typ srflx raddr 192.168.1.3 rport 50207 a=candidate:3 2 UDP 92217086 129.211.67.65 64560 typ relay raddr 129.211.67.65 rport 64560 a=recvonly a=end-of-candidates a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1 a=fmtp:101 0-15 a=ice-pwd:c8605e82eafe21ec618a005a64eec694 a=ice-ufrag:9083e494 a=mid:0 a=rtcp:50207 IN IP4 192.168.1.3 a=rtcp-mux a=rtpmap:109 opus/48000/2 a=rtpmap:9 G722/8000/1 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=setup:actpass a=ssrc:914929388 cname:{fe7b65c7-805b-4026-8b02-bb41402b6dab} m=video 58020 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98 c=IN IP4 129.211.67.65 a=candidate:0 1 UDP 2122252543 192.168.1.3 50208 typ host a=candidate:4 1 TCP 2105524479 192.168.1.3 9 typ host tcptype active a=candidate:0 2 UDP 2122252542 192.168.1.3 50209 typ host a=candidate:4 2 TCP 2105524478 192.168.1.3 9 typ host tcptype active a=recvonly a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:5 urn:ietf:params:rtp-hdrext:toffset a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 a=fmtp:120 max-fs=12288;max-fr=60 a=fmtp:124 apt=120 a=fmtp:121 max-fs=12288;max-fr=60 a=fmtp:125 apt=121 a=fmtp:127 apt=126 a=fmtp:98 apt=97 a=ice-pwd:c8605e82eafe21ec618a005a64eec694 a=ice-ufrag:9083e494 a=mid:1 a=rtcp:50209 IN IP4 192.168.1.3 a=rtcp-fb:120 nack a=rtcp-fb:120 nack pli a=rtcp-fb:120 ccm fir a=rtcp-fb:120 goog-remb a=rtcp-fb:120 transport-cc a=rtcp-fb:121 nack a=rtcp-fb:121 nack pli a=rtcp-fb:121 ccm fir a=rtcp-fb:121 goog-remb a=rtcp-fb:121 transport-cc a=rtcp-fb:126 nack a=rtcp-fb:126 nack pli a=rtcp-fb:126 ccm fir a=rtcp-fb:126 goog-remb a=rtcp-fb:126 transport-cc a=rtcp-fb:97 nack a=rtcp-fb:97 nack pli a=rtcp-fb:97 ccm fir a=rtcp-fb:97 goog-remb a=rtcp-fb:97 transport-cc a=rtcp-mux a=rtcp-rsize a=rtpmap:120 VP8/90000 a=rtpmap:124 rtx/90000 a=rtpmap:121 VP9/90000 a=rtpmap:125 rtx/90000 a=rtpmap:126 H264/90000 a=rtpmap:127 rtx/90000 a=rtpmap:97 H264/90000 a=rtpmap:98 rtx/90000 a=setup:actpass a=ssrc:1552163743 cname:{fe7b65c7-805b-4026-8b02-bb41402b6dab}

远程 SDP (回答)

v=0 o=- 3817604851 3817604851 IN IP4 0.0.0.0 s=- t=0 0 a=sendrecv a=fingerprint:sha-256 40:55:E0:BB:F0:24:AE:03:76:AD:AD:82:9F:F1:05:94:4D:FE:A5:04:14:53:08:93:EC:E6:48:5B:3F:9E:9C:23 a=group:BUNDLE 0 1 a=ice-options:trickle a=msid-semantic:WMS * m=audio 1 UDP/TLS/RTP/SAVPF 109 0 c=IN IP4 0.0.0.0 a=sendonly a=fingerprint:sha-256 AA:06:4D:07:57:E9:C9:72:DD:F9:21:DA:BA:10:A4:F6:9D:81:1C:E2:73:AC:22:89:13:BC:AF:BD:64:51:16:A6 a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1 a=ice-pwd:da+feUJxMP/GLy9Y0P1SwP a=ice-ufrag:ZbWW a=mid:0 a=rtcp:9 IN IP4 0.0.0.0 a=rtcp-mux a=rtpmap:109 opus/48000/2 a=rtpmap:0 PCMU/8000 a=setup:active a=ssrc:4103638459 cname:user4020387106@host-545e1c86 m=video 1 UDP/TLS/RTP/SAVPF 120 126 97 c=IN IP4 0.0.0.0 a=sendonly a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=fingerprint:sha-256 AA:06:4D:07:57:E9:C9:72:DD:F9:21:DA:BA:10:A4:F6:9D:81:1C:E2:73:AC:22:89:13:BC:AF:BD:64:51:16:A6 a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 a=fmtp:120 max-fs=12288;max-fr=60 a=ice-pwd:da+feUJxMP/GLy9Y0P1SwP a=ice-ufrag:ZbWW a=mid:1 a=rtcp:9 IN IP4 0.0.0.0 a=rtcp-fb:120 nack a=rtcp-fb:120 nack pli a=rtcp-fb:120 ccm fir a=rtcp-fb:120 goog-remb a=rtcp-fb:126 nack a=rtcp-fb:126 nack pli a=rtcp-fb:126 ccm fir a=rtcp-fb:126 goog-remb a=rtcp-fb:97 nack a=rtcp-fb:97 nack pli a=rtcp-fb:97 ccm fir a=rtcp-fb:97 goog-remb a=rtcp-mux a=rtpmap:120 VP8/90000 a=rtpmap:126 H264/90000 a=rtpmap:97 H264/90000 a=setup:active a=ssrc:2711789540 cname:user4020387106@host-545e1c86

github-actions[bot] commented 3 years ago

Hello @gaorongfu! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.

However, your report doesn't follow the issue template, so it is being automatically closed. We are really sorry for that, but we need all reports to follow the template, or else it won't be possible to understand and help with all issues.

Please, create a new issue following the template, or reopen this same issue to edit and provide all required information.