Open igorpavlov-zz opened 8 years ago
Can you give use a more detailed scenario ? It's fairly hard to imagine which app/order/whatever you are using.
Which version of the plugin are you using ? Which version of AJS ?
Hi Johache, sorry for a late reply.
AJS 0.13.0, just installed latest Safari plugin.
I investigated further, the error occurs when Safari tries to set session description received from Chrome, Safari yields:
Failed to set local answer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set video receive codecs..
Can it be potentially connected with recent VP9 support?
Also error doesn't occur if I use only audio streams (do not send/receive video).
Also attaching SDP (sent from Chrome), which fails:
v=0\r\no=- 8081184935470573278 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:XoruB0XYWEzEAjcN\r\na=ice-pwd:t/2cZnrrQrIpAeu3liH+rVpm\r\na=fingerprint:sha-1 2B:EF:09:CD:16:6D:EF:05:36:98:38:5F:F1:DA:A9:79:0F:C2:06:76\r\na=setup:active\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10; useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:2019634609 cname:NJ7OG6aG6APeEN0I\r\na=ssrc:2019634609 msid:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen izA/Yvo1Fn\r\na=ssrc:2019634609 mslabel:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen\r\na=ssrc:2019634609 label:izA/Yvo1Fn\r\nm=video 9 UDP/TLS/RTP/SAVPF 100 116 117 96 97 98\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:XoruB0XYWEzEAjcN\r\na=ice-pwd:t/2cZnrrQrIpAeu3liH+rVpm\r\na=fingerprint:sha-1 2B:EF:09:CD:16:6D:EF:05:36:98:38:5F:F1:DA:A9:79:0F:C2:06:76\r\na=setup:active\r\na=mid:video\r\nb=AS:256\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 ulpfec/90000\r\na=rtpmap:96 rtx/90000\r\na=fmtp:96 apt=100\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=101\r\na=rtpmap:98 rtx/90000\r\na=fmtp:98 apt=116\r\na=ssrc-group:FID 690893028 1547682628\r\na=ssrc:690893028 cname:NJ7OG6aG6APeEN0I\r\na=ssrc:690893028 msid:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen q1FfIMX8pf\r\na=ssrc:690893028 mslabel:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen\r\na=ssrc:690893028 label:q1FfIMX8pf\r\na=ssrc:1547682628 cname:NJ7OG6aG6APeEN0I\r\na=ssrc:1547682628 msid:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen q1FfIMX8pf\r\na=ssrc:1547682628 mslabel:ribsJNgBsxC15yAc5uFauUdpBAgKoBqNeoen\r\na=ssrc:1547682628 label:q1FfIMX8pf\r\n
Fixed it by patching sdp https://bugs.chromium.org/p/webrtc/issues/detail?id=3962. This might be interesting/useful to know for AJS.
adapter.js = AdapterJS library
This is what I get in Chrome when Chrome is an initiator (offer creator).
adapter.js:2 Uncaught (in promise) Failed to set remote answer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..
When Safari is offer creator - everything works.