Closed Kawottex closed 3 years ago
that the Capture receives 5 ICE messages when successful but 4 when failed
I am not really familiar with coturn, maybe it's the fact that one ICE message is lost on the line that makes the connection fail? Have you checked if the PeerConnection actually sends 5 ICE messages or 4?
All the SDP messages are correctly received on both sides (when an ICE message is sent by a peer, it's always received by the other peer). When the problem appears, it's the number of ICE messages sent (thus the number of IceCandidateReadytoSend event triggered) that seems to be incorrect.
I don't know the ICE syntax but the candidates sent by the Unity app look the same in both cases. It's the web app that's sending 4 candidates out of 5, right? In this case it might just be a candidate that doesn't apply to the non-local network case, not symptomatic of a bug.
Any chance you can run a Debug build of MR-WebRTC and collect the debug logs?
What kind of debug logs do you want ? I've looked at the logs at C:\Users\username\AppData\LocalLow\CompanyName\ProductName\Player.log but there are nothing related to WebRTC in these.
More informations: I've runned new tests and this time, it was the number of ICE messages sent by Unity (MR-WebRTC) that wasn't the same on success and on failed: 4 sent on success, 3 on failed (but the number of ICE msg received was the same on on both). Here are the full details, only on MR-WebRTC side:
Success
v=0
o=- 8755400322884569989 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS local_av_stream
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:QUX0
a=ice-pwd:X7QkMXUbrEx0lkLL5CxcZ7I5
a=ice-options:trickle
a=fingerprint:sha-256 D4:28:2F:F0:F5:8B:B8:5E:D8:5B:AC:2A:84:82:41:37:BB:A6:3C:6E:45:1B:80:31:32:5A:2D:60:43:64:25:FD
a=setup:active
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendonly
a=msid:-local_av_stream 61e0f94f-bdc7-40c7-88b7-c8bd15e6d6af
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:3245662335 cname:o3ctfLJHGNKmAkPz
a=ssrc:3245662335 msid: 61e0f94f-bdc7-40c7-88b7-c8bd15e6d6af
a=ssrc:3245662335 mslabel:
a=ssrc:3245662335 label:61e0f94f-bdc7-40c7-88b7-c8bd15e6d6af
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 102 123 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:QUX0
a=ice-pwd:X7QkMXUbrEx0lkLL5CxcZ7I5
a=ice-options:trickle
a=fingerprint:sha-256 D4:28:2F:F0:F5:8B:B8:5E:D8:5B:AC:2A:84:82:41:37:BB:A6:3C:6E:45:1B:80:31:32:5A:2D:60:43:64:25:FD
a=setup:active
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendonly
a=msid:-local_av_stream 74e8f727-1d1e-4a76-80f2-5b7d77abf822
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 x-google-profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:102 red/90000
a=rtpmap:123 rtx/90000
a=fmtp:123 apt=102
a=rtpmap:104 ulpfec/90000
a=ssrc-group:FID 2192569308 3315399687
a=ssrc:2192569308 cname:o3ctfLJHGNKmAkPz
a=ssrc:2192569308 msid: 74e8f727-1d1e-4a76-80f2-5b7d77abf822
a=ssrc:2192569308 mslabel:
a=ssrc:2192569308 label:74e8f727-1d1e-4a76-80f2-5b7d77abf822
a=ssrc:3315399687 cname:o3ctfLJHGNKmAkPz
a=ssrc:3315399687 msid: 74e8f727-1d1e-4a76-80f2-5b7d77abf822
a=ssrc:3315399687 mslabel:
a=ssrc:3315399687 label:74e8f727-1d1e-4a76-80f2-5b7d77abf822
candidate:903283197 1 udp 2122260223 10.33.142.88 61800 typ host generation 0 ufrag QUX0 network-id 1|0|0
candidate:3284629545 1 udp 1686052607 31.172.238.35 18387 typ srflx raddr 10.33.142.88 rport 61800 generation 0 ufrag QUX0 network-id 1|0|0
candidate:2069167373 1 tcp 1518280447 10.33.142.88 55374 typ host tcptype passive generation 0 ufrag QUX0 network-id 1|0|0
candidate:55959992 1 udp 41885439 40.68.1.255 33694 typ relay raddr 31.172.238.35 rport 18387 generation 0 ufrag QUX0 network-id 1|0|0
v=0
o=- 3466205608065509480 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:qicx
a=ice-pwd:4lk3dlGMRHDOO9NWlQOepu0a
a=ice-options:trickle
a=fingerprint:sha-256 00:E0:D7:43:BC:93:AC:82:D8:83:B0:95:9C:F0:44:5C:E6:3B:23:36:96:B1:31:4B:D0:15:C5:76:2D:DB:A8:ED
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 127 125 124 106 107 108 109 100 101 102 123 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:qicx
a=ice-pwd:4lk3dlGMRHDOO9NWlQOepu0a
a=ice-options:trickle
a=fingerprint:sha-256 00:E0:D7:43:BC:93:AC:82:D8:83:B0:95:9C:F0:44:5C:E6:3B:23:36:96:B1:31:4B:D0:15:C5:76:2D:DB:A8:ED
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:127 VP9/90000
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 profile-id=1
a=rtpmap:125 VP9/90000
a=rtcp-fb:125 goog-remb
a=rtcp-fb:125 transport-cc
a=rtcp-fb:125 ccm fir
a=rtcp-fb:125 nack
a=rtcp-fb:125 nack pli
a=fmtp:125 profile-id=2
a=rtpmap:124 H264/90000
a=rtcp-fb:124 goog-remb
a=rtcp-fb:124 transport-cc
a=rtcp-fb:124 ccm fir
a=rtcp-fb:124 nack
a=rtcp-fb:124 nack pli
a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=420015
a=rtpmap:106 H264/90000
a=rtcp-fb:106 goog-remb
a=rtcp-fb:106 transport-cc
a=rtcp-fb:106 ccm fir
a=rtcp-fb:106 nack
a=rtcp-fb:106 nack pli
a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0015
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=106
a=rtpmap:108 H264/90000
a=rtcp-fb:108 goog-remb
a=rtcp-fb:108 transport-cc
a=rtcp-fb:108 ccm fir
a=rtcp-fb:108 nack
a=rtcp-fb:108 nack pli
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640015
a=rtpmap:109 rtx/90000
a=fmtp:109 apt=108
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 red/90000
a=rtpmap:123 rtx/90000
a=fmtp:123 apt=102
a=rtpmap:104 ulpfec/90000
candidate:1706845923 1 udp 2113937151 10.122.181.215 40487 typ host generation 0 ufrag qicx network-cost 999|0|0
candidate:1706845923 1 udp 2113937151 10.122.181.215 38382 typ host generation 0 ufrag qicx network-cost 999|1|1
candidate:842163049 1 udp 1677729535 37.165.184.79 2727 typ srflx raddr 10.122.181.215 rport 40487 generation 0 ufrag qicx network-cost 999|0|0
candidate:842163049 1 udp 1677729535 37.165.184.79 2728 typ srflx raddr 10.122.181.215 rport 38382 generation 0 ufrag qicx network-cost 999|1|1
candidate:55959992 1 udp 33562367 40.68.1.255 33517 typ relay raddr 37.165.184.79 rport 2727 generation 0 ufrag qicx network-cost 999|0|0
FAILED
v=0
o=- 4529582212431223016 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS local_av_stream
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:xTlb
a=ice-pwd:Bs5nGDdwEMifzTtz0uZTugWW
a=ice-options:trickle
a=fingerprint:sha-256 B2:8D:F4:5C:E7:A2:C7:FB:58:6C:F0:79:81:DF:E2:76:C9:F6:23:4C:9F:24:21:BF:5B:C8:DE:1D:AB:7B:49:89
a=setup:active
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendonly
a=msid:-local_av_stream b7e82bf0-5afe-4407-bcfa-f8e5a0893ad5
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:4259203515 cname:YimWVM+LL3s9F7P1
a=ssrc:4259203515 msid: b7e82bf0-5afe-4407-bcfa-f8e5a0893ad5
a=ssrc:4259203515 mslabel:
a=ssrc:4259203515 label:b7e82bf0-5afe-4407-bcfa-f8e5a0893ad5
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 102 125 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:xTlb
a=ice-pwd:Bs5nGDdwEMifzTtz0uZTugWW
a=ice-options:trickle
a=fingerprint:sha-256 B2:8D:F4:5C:E7:A2:C7:FB:58:6C:F0:79:81:DF:E2:76:C9:F6:23:4C:9F:24:21:BF:5B:C8:DE:1D:AB:7B:49:89
a=setup:active
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendonly
a=msid:-local_av_stream d5147e62-9772-4978-bd46-cf7db1a31da5
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 x-google-profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:102 red/90000
a=rtpmap:125 rtx/90000
a=fmtp:125 apt=102
a=rtpmap:104 ulpfec/90000
a=ssrc-group:FID 1545489063 3178662098
a=ssrc:1545489063 cname:YimWVM+LL3s9F7P1
a=ssrc:1545489063 msid: d5147e62-9772-4978-bd46-cf7db1a31da5
a=ssrc:1545489063 mslabel:
a=ssrc:1545489063 label:d5147e62-9772-4978-bd46-cf7db1a31da5
a=ssrc:3178662098 cname:YimWVM+LL3s9F7P1
a=ssrc:3178662098 msid: d5147e62-9772-4978-bd46-cf7db1a31da5
a=ssrc:3178662098 mslabel:
a=ssrc:3178662098 label:d5147e62-9772-4978-bd46-cf7db1a31da5
candidate:903283197 1 udp 2122260223 10.33.142.88 58895 typ host generation 0 ufrag xTlb network-id 1|0|0
candidate:3284629545 1 udp 1686052607 31.172.238.35 20249 typ srflx raddr 10.33.142.88 rport 58895 generation 0 ufrag xTlb network-id 1|0|0
candidate:2069167373 1 tcp 1518280447 10.33.142.88 55338 typ host tcptype passive generation 0 ufrag xTlb network-id 1|0|0
v=0
o=- 7486049482013551578 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:geXE
a=ice-pwd:nQrUWOpvFmSWLZvIeN/xi/1Z
a=ice-options:trickle
a=fingerprint:sha-256 D5:5A:B2:83:CB:A0:9E:70:0C:35:03:BF:9A:B5:0E:E0:B9:3A:96:0E:10:FC:36:3B:74:DC:EF:BB:D8:00:A4:41
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 127 102 125 104
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:geXE
a=ice-pwd:nQrUWOpvFmSWLZvIeN/xi/1Z
a=ice-options:trickle
a=fingerprint:sha-256 D5:5A:B2:83:CB:A0:9E:70:0C:35:03:BF:9A:B5:0E:E0:B9:3A:96:0E:10:FC:36:3B:74:DC:EF:BB:D8:00:A4:41
a=setup:actpass
a=mid:1
a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:13 urn:3gpp:video-orientation
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:127 VP9/90000
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=fmtp:127 profile-id=1
a=rtpmap:102 red/90000
a=rtpmap:125 rtx/90000
a=fmtp:125 apt=102
a=rtpmap:104 ulpfec/90000
candidate:1706845923 1 udp 2113937151 10.122.181.215 38594 typ host generation 0 ufrag geXE network-cost 999|0|0
candidate:1706845923 1 udp 2113937151 10.122.181.215 40935 typ host generation 0 ufrag geXE network-cost 999|1|1
candidate:842163049 1 udp 1677729535 37.165.184.79 2724 typ srflx raddr 10.122.181.215 rport 40935 generation 0 ufrag geXE network-cost 999|1|1
candidate:842163049 1 udp 1677729535 37.165.184.79 2726 typ srflx raddr 10.122.181.215 rport 38594 generation 0 ufrag geXE network-cost 999|0|0
candidate:55959992 1 udp 33562367 40.68.1.255 33887 typ relay raddr 37.165.184.79 rport 2724 generation 0 ufrag geXE network-cost 999|1|1
What kind of debug logs do you want ?
It's the logs from the VS debugger output window. You'll need to compile a Debug build of MR-WebRTC (instructions here) and run the MR-WebRTC application with a native debugger attached.
Hello, I've managed to get logs from a debug build of MR-WebRTC Unity x64 Win32. Again, I've got logs from a successful and a failed communication, around 700-1000 lines of logs, I hope that it'll be helpful. The main difference I see is that in the failed one, the TURN server send a lot of "allocate error response", but I don't really know the source of that. Tell me if you need anything more.
Thanks, I'll dig into the logs and/or try to repro.
hey bro,I got this trouble too,but then I stumbled across it and solved it, sort of solved it on its own, initially on the public network, two different networks of clients can't communicate, right?
Yep, I do all of my tests with a private network on one side and my 4G connection (from my phone) on the other side. I can't really do tests on another setup, but it's one that should work correctly
是的,我在一侧使用专用网络,在另一侧(通过电话)通过4G连接进行所有测试。我真的不能在其他设置上进行测试,但这应该可以正常工作 What I do is I try it all the time. During debugging, I click create offer in one client, and the other client doesn't do anything. I try it several times
是的,我在一侧使用专用网络,在另一侧(通过电话)通过4G连接进行所有测试。我真的不能在其他设置上进行测试,但这应该可以正常工作 我做的是我试试吧每时每刻。在调试期间,我在一个客户端中单击“创建要约”,而另一个客户端则不执行任何操作。我尝试了几次
Don't be in a hurry to click create offer on both clients
As I said earlier, I don't have a common setup: one peer only create offer (to receive audio/video) and the other only receive offer and send answer (to send audio/video) , that's why there isn't the possibility to create offer on both clients. ^^ This problem is triggered randomly, even if I create a new connection quickly or not.
如我之前所说,我没有一个通用的设置:一个同龄人仅创建要约(接收音频/视频),而另一个同伴仅接收要约并发送答案(以发送音频/视频),这就是为什么没有在两个客户上创建报价的可能性。^^ 即使我是否快速创建新连接,也会随机触发此问题。
all right,I can only wish you good luck, and I'll keep an eye on this issue (:
@kawaottex did you find any solution, I am also trying to communicate between two client using different network, doesn't work most of the time, i am using Google free stun server.
Similar here, I haven't been able to get a connection on different networks, but on the local network works perfect.
I am sending and receiving video and audio from Unity to a Web browser.
Any luck?
Hello, I've finally managed to have clear communications on different networks. I'm still using Coturn deployed on a remote server but I've secured it with TLS certificates and I've got no issues since. I don't know if it's because it's secured or if it's because I've improved the configuration, but it works well.
I'm sorry, I won't be able to dig more into this problem but if you have any issues on different networks, check your STUN/TURN server configuration I think.
I'll close this issue because it's fixed on my side, but this problem is still strange if the fix is indeed to use secured connection.
Hello, I've implemented a WebRTC communication between Unity/HoloLens (using MR-WebRTC) and a web application (using WebRTC). The Unity app is a capture system (only send audio/video and can receive audio) and the web app is a viewer system (only receive audio/video and can send audio).
So far, I've been testing this setup with the same network between Unity and the Web part (it's not a local testing, it's online but using same network) and everything is working great.
I've implemented a STUN/TURN server using Coturn (https://github.com/coturn/coturn) which seems to work great BUT, when the Viewer tries to call the Capture on a different network and thus must use the Coturn server, sometimes, the communication doesn't setup correctly (like, half of the time, the viewer doesn't receive audio/video streaming from capture and I need to hang up and call again to maybe have it).
This problem seems to appear even with a good connection, so it doesn't seem to come from that. Moreover, I've also tried with a Unity(Capture) - Unity(Viewer) setup, and the problem still appears, so it doesn't seem to come from the web implementation.
My guess are that it either comes from my MR-WebRTC implementation or from my Coturn implementation, but i've no idea what could causes this. The only thing that I've noticed is that the Capture receives 5 ICE messages when successful but 4 when failed, but no idea how to fix this.
Here are all the SDP/ICE messages that could help you:
I also provides you Coturn logs, it may be helpful.
SDP Messages successful connection
Offer received (Unity) - Successful
v=0 o=- 1395704432747749921 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 1 a=msid-semantic: WMS m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:Mgo+ a=ice-pwd:KBxd/zzUOgXxkyCbMpdYK6q5 a=ice-options:trickle a=fingerprint:sha-256 B8:7A:86:29:67:F3:F1:42:33:65:50:95:21:64:FA:98:1F:3F:F5:56:FB:4D:78:7D:37:5E:78:CD:7B:8D:D5:B6 a=setup:actpass a=mid:0 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=recvonly a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 127 125 124 106 107 108 109 100 101 102 123 104 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:Mgo+ a=ice-pwd:KBxd/zzUOgXxkyCbMpdYK6q5 a=ice-options:trickle a=fingerprint:sha-256 B8:7A:86:29:67:F3:F1:42:33:65:50:95:21:64:FA:98:1F:3F:F5:56:FB:4D:78:7D:37:5E:78:CD:7B:8D:D5:B6 a=setup:actpass a=mid:1 a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=recvonly a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 VP9/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 profile-id=0 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=fmtp:127 profile-id=1 a=rtpmap:125 VP9/90000 a=rtcp-fb:125 goog-remb a=rtcp-fb:125 transport-cc a=rtcp-fb:125 ccm fir a=rtcp-fb:125 nack a=rtcp-fb:125 nack pli a=fmtp:125 profile-id=2 a=rtpmap:124 H264/90000 a=rtcp-fb:124 goog-remb a=rtcp-fb:124 transport-cc a=rtcp-fb:124 ccm fir a=rtcp-fb:124 nack a=rtcp-fb:124 nack pli a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=420015 a=rtpmap:106 H264/90000 a=rtcp-fb:106 goog-remb a=rtcp-fb:106 transport-cc a=rtcp-fb:106 ccm fir a=rtcp-fb:106 nack a=rtcp-fb:106 nack pli a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0015 a=rtpmap:107 rtx/90000 a=fmtp:107 apt=106 a=rtpmap:108 H264/90000 a=rtcp-fb:108 goog-remb a=rtcp-fb:108 transport-cc a=rtcp-fb:108 ccm fir a=rtcp-fb:108 nack a=rtcp-fb:108 nack pli a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640015 a=rtpmap:109 rtx/90000 a=fmtp:109 apt=108 a=rtpmap:100 H264/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:102 red/90000 a=rtpmap:123 rtx/90000 a=fmtp:123 apt=102 a=rtpmap:104 ulpfec/90000
ICE messages received (Unity) - Successful
candidate:2541903028 1 udp 2113937151 10.179.253.168 39856 typ host generation 0 ufrag Mgo+ network-cost 999|0|0 candidate:2541903028 1 udp 2113937151 10.179.253.168 41207 typ host generation 0 ufrag Mgo+ network-cost 999|1|1 candidate:842163049 1 udp 1677729535 37.170.217.8 14625 typ srflx raddr 10.179.253.168 rport 41207 generation 0 ufrag Mgo+ network-cost 999|1|1 candidate:842163049 1 udp 1677729535 37.170.217.8 14621 typ srflx raddr 10.179.253.168 rport 39856 generation 0 ufrag Mgo+ network-cost 999|0|0 candidate:55959992 1 udp 33562367 40.68.1.255 33546 typ relay raddr 37.170.217.8 rport 14621 generation 0 ufrag Mgo+ network-cost 999|0|0
Answer received (Web) - Successful
v=0 o=- 7283571948246242951 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 1 a=msid-semantic: WMS local_av_stream m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:b5jm a=ice-pwd:pvY6wVxBLVTWVDLqgM+Vbs07 a=ice-options:trickle a=fingerprint:sha-256 E5:AC:21:4E:A2:4F:0E:61:86:4E:6C:90:98:C2:0A:ED:1B:C5:90:6F:17:02:72:C1:AB:34:2F:C2:F2:26:75:3A a=setup:active a=mid:0 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=sendonly a=msid:-local_av_stream d4958550-902f-47e7-b571-9ce015e0cc01 a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:1738751613 cname:ZhH7CM29q4nbjlxL a=ssrc:1738751613 msid: d4958550-902f-47e7-b571-9ce015e0cc01 a=ssrc:1738751613 mslabel: a=ssrc:1738751613 label:d4958550-902f-47e7-b571-9ce015e0cc01 m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 102 123 104 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:b5jm a=ice-pwd:pvY6wVxBLVTWVDLqgM+Vbs07 a=ice-options:trickle a=fingerprint:sha-256 E5:AC:21:4E:A2:4F:0E:61:86:4E:6C:90:98:C2:0A:ED:1B:C5:90:6F:17:02:72:C1:AB:34:2F:C2:F2:26:75:3A a=setup:active a=mid:1 a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=sendonly a=msid:-local_av_stream 8d84e62b-e3f9-4ac5-a5fb-9e1469f3cb0a a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 VP9/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 x-google-profile-id=0 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:102 red/90000 a=rtpmap:123 rtx/90000 a=fmtp:123 apt=102 a=rtpmap:104 ulpfec/90000 a=ssrc-group:FID 1081423004 462732890 a=ssrc:1081423004 cname:ZhH7CM29q4nbjlxL a=ssrc:1081423004 msid: 8d84e62b-e3f9-4ac5-a5fb-9e1469f3cb0a a=ssrc:1081423004 mslabel: a=ssrc:1081423004 label:8d84e62b-e3f9-4ac5-a5fb-9e1469f3cb0a a=ssrc:462732890 cname:ZhH7CM29q4nbjlxL a=ssrc:462732890 msid: 8d84e62b-e3f9-4ac5-a5fb-9e1469f3cb0a a=ssrc:462732890 mslabel: a=ssrc:462732890 label:8d84e62b-e3f9-4ac5-a5fb-9e1469f3cb0a
ICE messages received (Web) - Successful
candidate:903283197 1 udp 2122260223 10.33.142.88 64260 typ host generation 0 ufrag b5jm network-id 1|0|0 candidate:3284629545 1 udp 1686052607 31.172.238.35 9884 typ srflx raddr 10.33.142.88 rport 64260 generation 0 ufrag b5jm network-id 1|0|0 candidate:2069167373 1 tcp 1518280447 10.33.142.88 49295 typ host tcptype passive generation 0 ufrag b5jm network-id 1|0|0
Coturn logs - Successful
199: handle_udp_packet: New UDP endpoint: local addr 10.0.2.5:33950, remote addr 37.170.217.8:14625 199: session 000000000000000001: realm <(REPLACED)> user <>: incoming packet BINDING processed, success 199: handle_udp_packet: New UDP endpoint: local addr 10.0.2.5:33950, remote addr 37.170.217.8:14621 199: session 000000000000000002: realm <(REPLACED)> user <>: incoming packet BINDING processed, success 199: session 000000000000000001: realm <(REPLACED)> user <>: incoming packet message processed, error 401: Unauthorized 199: session 000000000000000002: realm <(REPLACED)> user <>: incoming packet message processed, error 401: Unauthorized 199: IPv4. Local relay addr: 10.0.2.5:33863 199: session 000000000000000001: new, realm=<(REPLACED)>, username=<(REPLACED)>, lifetime=600 199: session 000000000000000001: realm <(REPLACED)> user <(REPLACED)>: incoming packet ALLOCATE processed, success 199: IPv4. Local relay addr: 10.0.2.5:33546 199: session 000000000000000002: new, realm=<(REPLACED)>, username=<(REPLACED)>, lifetime=600 199: session 000000000000000002: realm <(REPLACED)> user <(REPLACED)>: incoming packet ALLOCATE processed, success 199: session 000000000000000002: peer 10.33.142.88 lifetime updated: 300 199: session 000000000000000002: realm <(REPLACED)> user <(REPLACED)>: incoming packet CREATE_PERMISSION processed, success 199: session 000000000000000002: peer 31.172.238.35 lifetime updated: 300 199: session 000000000000000002: realm <(REPLACED)> user <(REPLACED)>: incoming packet CREATE_PERMISSION processed, success 199: session 000000000000000002: peer 31.172.238.35 lifetime updated: 300 199: session 000000000000000002: realm <(REPLACED)> user <(REPLACED)>: incoming packet CREATE_PERMISSION processed, success 199: session 000000000000000002: peer 31.172.238.35 lifetime updated: 600 199: session 000000000000000002: realm <(REPLACED)> user <(REPLACED)>: incoming packet CHANNEL_BIND processed, success
SDP Messages failed connection
Offer received (Unity) - Failed
v=0 o=- 1254947098541347751 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 1 a=msid-semantic: WMS m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:L/yX a=ice-pwd:lYhFaVACjx/wA/wXSIaidByi a=ice-options:trickle a=fingerprint:sha-256 17:8F:04:67:DE:BA:DB:28:AC:01:78:35:9A:FC:15:57:32:69:99:31:6F:26:E1:B4:2A:B9:32:31:41:D5:01:80 a=setup:actpass a=mid:0 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=recvonly a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 127 125 124 106 107 108 109 100 101 102 123 104 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:L/yX a=ice-pwd:lYhFaVACjx/wA/wXSIaidByi a=ice-options:trickle a=fingerprint:sha-256 17:8F:04:67:DE:BA:DB:28:AC:01:78:35:9A:FC:15:57:32:69:99:31:6F:26:E1:B4:2A:B9:32:31:41:D5:01:80 a=setup:actpass a=mid:1 a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=recvonly a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 VP9/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 profile-id=0 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:127 VP9/90000 a=rtcp-fb:127 goog-remb a=rtcp-fb:127 transport-cc a=rtcp-fb:127 ccm fir a=rtcp-fb:127 nack a=rtcp-fb:127 nack pli a=fmtp:127 profile-id=1 a=rtpmap:125 VP9/90000 a=rtcp-fb:125 goog-remb a=rtcp-fb:125 transport-cc a=rtcp-fb:125 ccm fir a=rtcp-fb:125 nack a=rtcp-fb:125 nack pli a=fmtp:125 profile-id=2 a=rtpmap:124 H264/90000 a=rtcp-fb:124 goog-remb a=rtcp-fb:124 transport-cc a=rtcp-fb:124 ccm fir a=rtcp-fb:124 nack a=rtcp-fb:124 nack pli a=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=420015 a=rtpmap:106 H264/90000 a=rtcp-fb:106 goog-remb a=rtcp-fb:106 transport-cc a=rtcp-fb:106 ccm fir a=rtcp-fb:106 nack a=rtcp-fb:106 nack pli a=fmtp:106 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0015 a=rtpmap:107 rtx/90000 a=fmtp:107 apt=106 a=rtpmap:108 H264/90000 a=rtcp-fb:108 goog-remb a=rtcp-fb:108 transport-cc a=rtcp-fb:108 ccm fir a=rtcp-fb:108 nack a=rtcp-fb:108 nack pli a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640015 a=rtpmap:109 rtx/90000 a=fmtp:109 apt=108 a=rtpmap:100 H264/90000 a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:101 rtx/90000 a=fmtp:101 apt=100 a=rtpmap:102 red/90000 a=rtpmap:123 rtx/90000 a=fmtp:123 apt=102 a=rtpmap:104 ulpfec/90000
ICE candidates received (Unity) - Failed
candidate:2541903028 1 udp 2113937151 10.179.253.168 39048 typ host generation 0 ufrag L/yX network-cost 999|0|0 candidate:2541903028 1 udp 2113937151 10.179.253.168 42363 typ host generation 0 ufrag L/yX network-cost 999|1|1 candidate:842163049 1 udp 1677729535 37.170.217.8 14611 typ srflx raddr 10.179.253.168 rport 39048 generation 0 ufrag L/yX network-cost 999|0|0 candidate:842163049 1 udp 1677729535 37.170.217.8 14613 typ srflx raddr 10.179.253.168 rport 42363 generation 0 ufrag L/yX network-cost 999|1|1
Answer received (Web) - Failed
v=0 o=- 3211332049830621595 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 1 a=msid-semantic: WMS local_av_stream m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:OEO0 a=ice-pwd:JbKEvcju+uS75juGqtDTKwQC a=ice-options:trickle a=fingerprint:sha-256 1D:16:96:1F:C1:71:00:7E:83:25:47:26:89:AD:93:1E:5D:FA:71:EB:20:8A:A4:F2:F3:51:57:20:59:1A:2B:00 a=setup:active a=mid:0 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=sendonly a=msid:-local_av_stream df09640a-1450-4273-9b3e-84c21048e1a8 a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:1808945087 cname:ZMsgfRjtaF8vt5xx a=ssrc:1808945087 msid: df09640a-1450-4273-9b3e-84c21048e1a8 a=ssrc:1808945087 mslabel: a=ssrc:1808945087 label:df09640a-1450-4273-9b3e-84c21048e1a8 m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 102 123 104 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:OEO0 a=ice-pwd:JbKEvcju+uS75juGqtDTKwQC a=ice-options:trickle a=fingerprint:sha-256 1D:16:96:1F:C1:71:00:7E:83:25:47:26:89:AD:93:1E:5D:FA:71:EB:20:8A:A4:F2:F3:51:57:20:59:1A:2B:00 a=setup:active a=mid:1 a=extmap:14 urn:ietf:params:rtp-hdrext:toffset a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:13 urn:3gpp:video-orientation a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=sendonly a=msid:-local_av_stream 081358e2-389c-49f7-a509-3ab1bda9ff94 a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:98 VP9/90000 a=rtcp-fb:98 goog-remb a=rtcp-fb:98 transport-cc a=rtcp-fb:98 ccm fir a=rtcp-fb:98 nack a=rtcp-fb:98 nack pli a=fmtp:98 x-google-profile-id=0 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:102 red/90000 a=rtpmap:123 rtx/90000 a=fmtp:123 apt=102 a=rtpmap:104 ulpfec/90000 a=ssrc-group:FID 2420198708 1123879522 a=ssrc:2420198708 cname:ZMsgfRjtaF8vt5xx a=ssrc:2420198708 msid: 081358e2-389c-49f7-a509-3ab1bda9ff94 a=ssrc:2420198708 mslabel: a=ssrc:2420198708 label:081358e2-389c-49f7-a509-3ab1bda9ff94 a=ssrc:1123879522 cname:ZMsgfRjtaF8vt5xx a=ssrc:1123879522 msid: 081358e2-389c-49f7-a509-3ab1bda9ff94 a=ssrc:1123879522 mslabel: a=ssrc:1123879522 label:081358e2-389c-49f7-a509-3ab1bda9ff94
ICE messages received (Web) - Failed
candidate:903283197 1 udp 2122260223 10.33.142.88 63508 typ host generation 0 ufrag OEO0 network-id 1|0|0 candidate:3284629545 1 udp 1686052607 31.172.238.35 15377 typ srflx raddr 10.33.142.88 rport 63508 generation 0 ufrag OEO0 network-id 1|0|0 candidate:2069167373 1 tcp 1518280447 10.33.142.88 65527 typ host tcptype passive generation 0 ufrag OEO0 network-id 1|0|0
Coturn logs - Failed
41: handle_udp_packet: New UDP endpoint: local addr 10.0.2.5:33950, remote addr 37.170.217.8:14613 41: session 001000000000000001: realm <(REPLACED)> user <>: incoming packet BINDING processed, success 41: session 001000000000000001: realm <(REPLACED)> user <>: incoming packet message processed, error 401: Unauthorized 41: IPv4. Local relay addr: 10.0.2.5:33706 41: session 001000000000000001: new, realm=<(REPLACED)>, username=<(REPLACED)>, lifetime=600 41: session 001000000000000001: realm <(REPLACED)> user <(REPLACED)>: incoming packet ALLOCATE processed, success
Thank you, Kevin