Hi,
we have a setup where it is more desirable to let the streaming always pass
through Erizo to take advantage of the recording functionality.
For this, we set the parameter p2p to false.
However, we would like to use TURN in addition to this setup.
With the latest changes in the repo on Github, I assumed TURN is supported
server side, nonetheless we can’t get it to work.
From the tests, we can conclude
- Answer SDP never has relay candidates
- Only Chrome contains relay candidates in the Offer SDP
- Firefox contains stun srflex candidates in the Offer SDP
Chrome Log:
DEBUG: Requested access to local media erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Object {video: true, audio: true, fake: undefined} erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
INFO: User has granted access to local media. erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Event: access-accepted erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
INFO: Connected to room 52d83867d718cf4f4a000003 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Event: room-connected erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Canary! erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Changed v=0 o=- 9041024255278621919 2 IN IP4 127.0.0.1 s=- t=0 0
a=group:BUNDLE audio video a=msid-semantic: WMS
mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh m=audio 1 RTP/SAVPF 111 103 104 0 8
106 105 13 126 c=IN IP4 0.0.0.0 a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:1euCSw3xoAgwVSXe a=ice-pwd:vPvVLjs0TpOOuQBMwwdhwRZZ
a=ice-options:google-ice a=fingerprint:sha-256
8C:CA:D1:A6:A3:1A:DF:10:90:8B:B0:9E:8D:4E:6E:35:56:C8:4D:C9:5D:63:BE:AB:F7:81:9E:6E:22:92:3C:38
a=setup:actpass a=mid:audio a=extmap:1
urn:ietf:params:rtp-hdrext:ssrc-audio-level a=sendrecv a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:vMd0EH2yRLXQg9NeVxAU8eJV4kpTHnr3zesk+hoi a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000
a=maxptime:60 a=ssrc:3866441737 cname:pXcr/KQlzf5gfqbm a=ssrc:3866441737
msid:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh
0ab4afb4-efc8-4a80-9e7c-4f7e79a444db a=ssrc:3866441737
mslabel:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh a=ssrc:3866441737
label:0ab4afb4-efc8-4a80-9e7c-4f7e79a444db m=video 1 RTP/SAVPF 100 116 117
b=AS:300 c=IN IP4 0.0.0.0 a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:1euCSw3xoAgwVSXe a=ice-pwd:vPvVLjs0TpOOuQBMwwdhwRZZ
a=ice-options:google-ice a=fingerprint:sha-256
8C:CA:D1:A6:A3:1A:DF:10:90:8B:B0:9E:8D:4E:6E:35:56:C8:4D:C9:5D:63:BE:AB:F7:81:9E:6E:22:92:3C:38
a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-timea=sendrecv a=rtcp-mux a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:vMd0EH2yRLXQg9NeVxAU8eJV4kpTHnr3zesk+hoi a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000 a=rtpmap:117 ulpfec/90000 a=ssrc:1950680210
cname:pXcr/KQlzf5gfqbm a=ssrc:1950680210
msid:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh
d816a9ea-7958-4baa-9bf7-83c72279342d a=ssrc:1950680210
mslabel:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh a=ssrc:1950680210
label:d816a9ea-7958-4baa-9bf7-83c72279342d erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: PeerConnection: 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: State: complete erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Sending OFFER: v=0 o=- 9041024255278621919 2 IN IP4 127.0.0.1 s=-
t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS
mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh m=audio 58628 RTP/SAVPF 111 103 104 0
8 106 105 13 126 c=IN IP4 54.194.131.115 a=rtcp:58628 IN IP4 54.194.131.115
a=candidate:203136168 1 udp 2113937151 192.168.0.240 54398 typ host
generation 0 a=candidate:203136168 2 udp 2113937151 192.168.0.240 54398 typ
host generation 0 a=candidate:1117282392 1 tcp 1509957375 192.168.0.240 0
typ host generation 0 a=candidate:1117282392 2 tcp 1509957375 192.168.0.240
0 typ host generation 0 a=candidate:1665516021 1 udp 16785151
54.194.131.115 58628 typ relay raddr 84.195.132.47 rport 60516 generation 0
a=candidate:1665516021 2 udp 16785151 54.194.131.115 58628 typ relay raddr
84.195.132.47 rport 60516 generation 0 a=ice-ufrag:1euCSw3xoAgwVSXe
a=ice-pwd:vPvVLjs0TpOOuQBMwwdhwRZZ a=ice-options:google-ice
a=fingerprint:sha-256
8C:CA:D1:A6:A3:1A:DF:10:90:8B:B0:9E:8D:4E:6E:35:56:C8:4D:C9:5D:63:BE:AB:F7:81:9E:6E:22:92:3C:38
a=setup:actpass a=mid:audio a=extmap:1
urn:ietf:params:rtp-hdrext:ssrc-audio-level a=sendrecv a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:vMd0EH2yRLXQg9NeVxAU8eJV4kpTHnr3zesk+hoi a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10 a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000
a=maxptime:60 a=ssrc:3866441737 cname:pXcr/KQlzf5gfqbm a=ssrc:3866441737
msid:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh
0ab4afb4-efc8-4a80-9e7c-4f7e79a444db a=ssrc:3866441737
mslabel:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh a=ssrc:3866441737
label:0ab4afb4-efc8-4a80-9e7c-4f7e79a444db m=video 58628 RTP/SAVPF 100 116
117 c=IN IP4 54.194.131.115 a=rtcp:58628 IN IP4 54.194.131.115
a=candidate:203136168 1 udp 2113937151 192.168.0.240 54398 typ host
generation 0 a=candidate:203136168 2 udp 2113937151 192.168.0.240 54398 typ
host generation 0 a=candidate:1117282392 1 tcp 1509957375 192.168.0.240 0
typ host generation 0 a=candidate:1117282392 2 tcp 1509957375 192.168.0.240
0 typ host generation 0 a=candidate:1665516021 1 udp 16785151
54.194.131.115 58628 typ relay raddr 84.195.132.47 rport 60516 generation 0
a=candidate:1665516021 2 udp 16785151 54.194.131.115 58628 typ relay raddr
84.195.132.47 rport 60516 generation 0 a=ice-ufrag:1euCSw3xoAgwVSXe
a=ice-pwd:vPvVLjs0TpOOuQBMwwdhwRZZ a=ice-options:google-ice
a=fingerprint:sha-256
8C:CA:D1:A6:A3:1A:DF:10:90:8B:B0:9E:8D:4E:6E:35:56:C8:4D:C9:5D:63:BE:AB:F7:81:9E:6E:22:92:3C:38
a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-timea=sendrecv b=AS:300 a=rtcp-mux a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:vMd0EH2yRLXQg9NeVxAU8eJV4kpTHnr3zesk+hoi a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000 a=rtpmap:117 ulpfec/90000 a=ssrc:1950680210
cname:pXcr/KQlzf5gfqbm a=ssrc:1950680210
msid:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh
d816a9ea-7958-4baa-9bf7-83c72279342d a=ssrc:1950680210
mslabel:mKzfJadFLdF8a2ZIP3bjevhPR86f0Wy4QcLh a=ssrc:1950680210
label:d816a9ea-7958-4baa-9bf7-83c72279342d erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Activity on conn 104 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
DEBUG: Received ANSWER: v=0 o=- 0 0 IN IP4 127.0.0.1 s= t=0 0
a=group:BUNDLE audio video a=msid-semantic: WMS DBYxic4TUD m=audio 37818
RTP/SAVPF 0 126 c=IN IP4 172.31.31.88 a=rtcp:37818 IN IP4 172.31.31.88
a=candidate:1 1 udp 2013266431 172.31.31.88 37818 typ host generation 0
a=candidate:1 2 udp 2013266431 172.31.31.88 37818 typ host generation 0
a=ice-ufrag:ELX0 a=ice-pwd:QQislVTpNGXyloQ5EkGqAz a=fingerprint:sha-256
F1:04:F2:8B:7C:62:05:C1:87:0D:59:1E:91:BB:05:DF:B1:C3:3D:92:BA:CB:F0:2F:A1:45:A2:72:8C:6A:36:C0
a=sendrecv a=mid:audio a=rtcp-mux a=rtpmap:0 PCMU/8000 a=rtpmap:126
telephone-event/8000 a=maxptime:60 a=ssrc:44444 cname:o/i14u9pJrxRKAsu
a=ssrc:44444 msid:DBYxic4TUD a0 a=ssrc:44444 mslabel:DBYxic4TUD
a=ssrc:44444 label:DBYxic4TUDa0 m=video 37818 RTP/SAVPF 100 116 117 c=IN
IP4 172.31.31.88 a=rtcp:37818 IN IP4 172.31.31.88 a=candidate:1 1 udp
2013266431 172.31.31.88 37818 typ host generation 0 a=candidate:1 2 udp
2013266431 172.31.31.88 37818 typ host generation 0 a=ice-ufrag:ELX0
a=ice-pwd:QQislVTpNGXyloQ5EkGqAz a=extmap:2
urn:ietf:params:rtp-hdrext:toffset a=extmap:3
http://www.webrtc.org/experiments/rtp-hdrext/abs-send-timea=fingerprint:sha-256
F1:04:F2:8B:7C:62:05:C1:87:0D:59:1E:91:BB:05:DF:B1:C3:3D:92:BA:CB:F0:2F:A1:45:A2:72:8C:6A:36:C0
a=sendrecv a=mid:video a=rtcp-mux a=rtpmap:100 VP8/90000 a=rtcp-fb:100 ccm
fir a=rtcp-fb:100 nack a=rtcp-fb:100 goog-remb a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000 a=ssrc:55543 cname:o/i14u9pJrxRKAsu a=ssrc:55543
msid:DBYxic4TUD v0 a=ssrc:55543 mslabel:DBYxic4TUD a=ssrc:55543
label:DBYxic4TUDv0 erizo.js:5900http://dev.talentina.com/js/library/webrtc/erizo.js
INFO: Stream published
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.jserizo.js:5900
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js
http://dev.talentina.com/js/library/webrtc/erizo.js