Hi - 

We have a WebRTC Gateway and that's working fine with FF till version 36. It 
looks like Firefox does not like the SDP generated by our WebRTC Gateway in 38 
beta and version 37 as well.  

For example, the following console log shows that the answer SDP from the 
gateway caused setRemoteDescription to fail, though there was no error message 
found in error callback.  We tried removing, and changing many things that I 
suspected might be causing the issue, but with no success.  For e.g., we've 
removed bundle and msid stuff from the SDP, added "a=ice-options" like Firefox 
is doing, and included cname value within curly brackets (as Firefox).

Maybe we are missing something with FF37 changes.

grtc: 75125.928: This is the modified remote answer SDP:
v=0
o=Genesys 25 2 IN IP4 135.17.178.74
s=WEBRTCGW-8.5.203.24
c=IN IP4 135.17.178.74
t=0 0
a=ice-options:trickle
m=audio 9 RTP/SAVPF 9
a=sendrecv
a=rtcp-mux
a=ssrc:389262366 cname:{sgFldBs/DEGZL/o13q51h4xp}
a=ice-ufrag:W8V7
a=ice-pwd:unrAlpnqBcfY7QaVe6k0Tv
a=rtpmap:9 g722/8000
a=fingerprint:sha-256 
EB:95:EC:03:8B:21:39:58:81:10:8D:9D:0A:B1:3C:6D:DC:08:9D:59:59:3A:51:8A:BC:88:80:C8:4F:FE:6D:4F
a=setup:active

"grtc: 75125.928: addIceCandidate[0]: 
{"sdpMLineIndex":0,"sdpMid":"audio","candidate":"a=candidate:1 1 udp 2013266431 
135.17.178.74 36000 typ host"}" grtc.js:717:12
"grtc: 75125.929: Sending ROAP message(type=OK, seq=1, state=established)" 
grtc.js:717:12
"grtc: 75125.929: sendToPeer(8101, Data: RSMP 
{"messageType":"OK","offererSessionId":"106","answererSessionId":106,"seq":1})" 
grtc.js:717:12
"Call event: answer received" demo1.js:237:8
"grtc: 75125.932: ERROR: setRemoteDescription() of answer failed - {}" 
grtc.js:717:12
"grtc: 75125.937: addIceCandidate success"
...

FYI, here is the offer SDP from Firefox for the above answer:
"grtc: 75120.881: This is the modified local offer SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-38.0 3030941621093548959 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 
F7:0B:69:5F:A3:DC:A0:5B:18:2F:6E:D8:CA:E3:43:AD:5B:C6:70:F5:AE:1A:24:6A:4F:B1:8C:A7:E4:C6:36:AD
a=group:BUNDLE sdparta_0
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 RTP/SAVPF 109 9 0 8
c=IN IP4 0.0.0.0
a=sendrecv
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=ice-pwd:0d6800c6773e5b6e427b802abf470f6d
a=ice-ufrag:7231417d
a=mid:sdparta_0
a=msid:{3be90daf-81c0-4b7a-982b-636afa3480c8} 
{16e216ae-d20a-4ae7-a723-1978cded11ac}
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=setup:actpass
a=ssrc:2858027490 cname:{7cda9dc4-5107-4bff-9ca7-f5fe7985e7c0}

Also, when an offer comes from the gateway , the answer generated by Firefox 
contains disabled m-line(s), as shown in the following console log.

grtc: 74985.574: This is the modified remote offer SDP:
v=0
o=Genesys 15 2 IN IP4 135.17.178.74
s=WEBRTCGW-8.5.203.24
c=IN IP4 135.17.178.74
t=0 0
m=audio 9 RTP/SAVPF 9 0 8 126
a=sendrecv
a=rtcp-mux
a=ssrc:891025315 cname:{aht//icIOk2jHzZuXVSaQXVR}
a=ice-ufrag:8hVX
a=ice-pwd:L+W48MMirpXGLGq17DFNcu
a=rtpmap:9 g722/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-15
a=fingerprint:sha-256 
EB:95:EC:03:8B:21:39:58:81:10:8D:9D:0A:B1:3C:6D:DC:08:9D:59:59:3A:51:8A:BC:88:80:C8:4F:FE:6D:4F
a=setup:actpass
a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:gzSmSKc5j443kHJsfjDw3vilJc8iB784GHIx6N1y

"grtc: 74985.576: setRemoteDescription() success" grtc.js:717:12
"grtc: 74985.579: onstablestate(state=offer-received)" grtc.js:717:12
"grtc: 74985.579: ICE candidate gathering initialized" grtc.js:717:12
"grtc: 74985.579: Create answer with constraints: 
{"offerToReceiveAudio":true,"offerToReceiveVideo":true}" grtc.js:717:12
"grtc: 74985.580: createAnswer success" grtc.js:717:12
"grtc: 74985.581: This is the modified local answer SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-38.0 3543039655855307071 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 
F4:6D:50:56:A8:64:82:D9:5D:29:1D:65:A7:F2:C6:D0:A1:25:A4:4D:B0:51:16:6C:B8:61:B5:5F:D3:98:BD:E0
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 0 RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=inactive
a=rtpmap:111 NULL/0

Thx
Rajarshi

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to