Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed ice connection between Edge and Safari with empty MediaStream #81

Open
Imperiz opened this issue Jan 9, 2018 · 5 comments
Open

Comments

@Imperiz
Copy link

Imperiz commented Jan 9, 2018

Steps to reproduce:

  1. Create new MediaStream() in Safari.
  2. Add this stream to connection.
  3. Gather ice candidates.
  4. Send offer with ice candidates to Edge.
  5. Add ice candidates to connection.
  6. Gather ice candidates on Edge side.
  7. Send answer with ice candidates to Safari.
  8. Add ice candidates to connection.

Actual result:
iceConnectionState became 'checking'.
After few seconds iceConnectionState became 'failed'.

Also I tried to create media stream with video and audio. In that case iceConnectionState became connected, but I'd got an error "OperationError (DOM Exception 34): Failed to set local sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set local audio description recv parameters.."

This problem occurred only for Edge - Safari connection.

@fippo
Copy link
Member

fippo commented Jan 10, 2018

How does the offer look in step 4? As far as I can see it, pc.addStream(new MediaStream([])) creates an offer like

v=0
o=- 7693327771252956079 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS

which doesn't have any candidates. Note that this offer won't be something Firefox is happy about either.
Also how does the answer from Edge look like?

"OperationError (DOM Exception 34): Failed to set local sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set local audio description recv parameters.."

How do the offer from safari and the answer from Edge look like?

@Imperiz
Copy link
Author

Imperiz commented Jan 10, 2018

Offer from safari:
v=0
o=- 3577891109311258778 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS
m=audio 58165 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 52.2.198.163
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:842163049 1 udp 1677729535 46.53.188.154 58446 typ srflx generation 0 network-cost 50
a=candidate:733001342 1 udp 33562367 52.2.198.163 58165 typ relay generation 0 network-cost 50
a=candidate:1012630912 1 udp 33562623 52.2.220.216 56942 typ relay generation 0 network-cost 50
a=ice-ufrag:LF0D
a=ice-pwd:3v9UkHxkLIJ0xJeYyQ8qyeh1
a=ice-options:trickle
a=fingerprint:sha-256 C6:40:24:9C:C5:BA:13:F8:DD:4D:C2:B0:87:D4:9F:9F:36:48:3D:CE:0F:1E:B8:65:08:75:99:2D:66:0F:20:54
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
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:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
m=video 55038 UDP/TLS/RTP/SAVPF 96 98 99 97 100
c=IN IP4 52.2.198.163
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:842163049 1 udp 1677729535 46.53.188.154 53451 typ srflx generation 0 network-cost 50
a=candidate:733001342 1 udp 33562367 52.2.198.163 55038 typ relay generation 0 network-cost 50
a=candidate:1012630912 1 udp 33562623 52.2.220.216 56044 typ relay generation 0 network-cost 50
a=ice-ufrag:LF0D
a=ice-pwd:3v9UkHxkLIJ0xJeYyQ8qyeh1
a=ice-options:trickle
a=fingerprint:sha-256 C6:40:24:9C:C5:BA:13:F8:DD:4D:C2:B0:87:D4:9F:9F:36:48:3D:CE:0F:1E:B8:65:08:75:99:2D:66:0F:20:54
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-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 red/90000
a=rtpmap:98 ulpfec/90000
a=rtpmap:99 H264/90000
a=rtcp-fb:99 ccm fir
a=rtcp-fb:99 nack
a=rtcp-fb:99 nack pli
a=rtcp-fb:99 goog-remb
a=rtcp-fb:99 transport-cc
a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:100 rtx/90000
a=fmtp:100 apt=99

Answer from Edge:
v=0
o=thisisadapterortc 38520702294408626 0 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
m=audio 9 UDP/TLS/RTP/SAVPF 111 9 0 8 13 105 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:105 CN/16000
a=rtpmap:126 telephone-event/8000
a=rtcp-mux
a=ice-ufrag:lMwM
a=ice-pwd:RFNRfT4UywaOKaK/0ivn64Mw
a=setup:active
a=fingerprint:sha-256 C2:EF:E0:A1:24:C2:BE:66:B8:E2:0E:34:F3:64:FC:15:34:CF:64:81:9B:3F:92:0D:99:4B:B7:7D:18:DD:3E:01
a=mid:audio
a=inactive
a=ssrc:2002 cname:64osnnstzq
a=candidate:1 1 UDP 2130706431 192.168.53.71 64426 typ host
a=candidate:2 1 TCP 1684798975 192.168.53.71 64426 typ srflx raddr 192.168.53.71 rport 64426 tcptype active
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 99 100
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=rtpmap:99 H264/90000
a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:99 nack
a=rtcp-fb:99 nack pli
a=rtcp-fb:99 goog-remb
a=rtpmap:100 rtx/90000
a=fmtp:100 apt=99
a=rtcp-mux
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=ice-ufrag:lMwM
a=ice-pwd:RFNRfT4UywaOKaK/0ivn64Mw
a=setup:active
a=fingerprint:sha-256 C2:EF:E0:A1:24:C2:BE:66:B8:E2:0E:34:F3:64:FC:15:34:CF:64:81:9B:3F:92:0D:99:4B:B7:7D:18:DD:3E:01
a=mid:video
a=inactive
a=ssrc:4004 cname:64osnnstzq
a=rtcp-rsize

In Firefox we are using new AudioContext().createMediaStreamDestination().stream, but this solution is not very good because of limitations of used streams in audioContext.

Case with error:

  1. Offer from Safari. Stream with audio and video.
    v=0
    o=- 192360276891773823 2 IN IP4 127.0.0.1
    s=-
    t=0 0
    a=group:BUNDLE audio video
    a=msid-semantic: WMS
    m=audio 50364 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
    c=IN IP4 52.2.220.216
    a=rtcp:9 IN IP4 0.0.0.0
    a=candidate:197280124 1 udp 2113937151 192.168.53.98 57930 typ host generation 0 network-cost 50
    a=candidate:842163049 1 udp 1677729535 46.53.188.154 57930 typ srflx raddr 192.168.53.98 rport 57930 generation 0 network-cost 50
    a=candidate:1012630912 1 udp 33562623 52.2.220.216 50364 typ relay raddr 46.53.188.154 rport 57930 generation 0 network-cost 50
    a=candidate:733001342 1 udp 33562367 52.2.198.163 59873 typ relay raddr 46.53.188.154 rport 57930 generation 0 network-cost 50
    a=ice-ufrag:pHAr
    a=ice-pwd:aUa0aX5EC44V7XJhTYQealQ2
    a=ice-options:trickle
    a=fingerprint:sha-256 61:E9:F8:A5:70:B3:2D:59:1F:67:C3:61:C1:B3:99:2E:F6:BA:2E:92:40:43:1E:62:00:70:A4:E0:DE:69:4C:CE
    a=setup:actpass
    a=mid:audio
    a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
    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:104 ISAC/32000
    a=rtpmap:9 G722/8000
    a=rtpmap:102 ILBC/8000
    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:110 telephone-event/48000
    a=rtpmap:112 telephone-event/32000
    a=rtpmap:113 telephone-event/16000
    a=rtpmap:126 telephone-event/8000
    m=video 59688 UDP/TLS/RTP/SAVPF 96 98 99 97 100
    c=IN IP4 52.2.220.216
    a=rtcp:9 IN IP4 0.0.0.0
    a=candidate:197280124 1 udp 2113937151 192.168.53.98 49934 typ host generation 0 network-cost 50
    a=candidate:842163049 1 udp 1677729535 46.53.188.154 49934 typ srflx raddr 192.168.53.98 rport 49934 generation 0 network-cost 50
    a=candidate:1012630912 1 udp 33562623 52.2.220.216 59688 typ relay raddr 46.53.188.154 rport 49934 generation 0 network-cost 50
    a=candidate:733001342 1 udp 33562367 52.2.198.163 57472 typ relay raddr 46.53.188.154 rport 49934 generation 0 network-cost 50
    a=ice-ufrag:pHAr
    a=ice-pwd:aUa0aX5EC44V7XJhTYQealQ2
    a=ice-options:trickle
    a=fingerprint:sha-256 61:E9:F8:A5:70:B3:2D:59:1F:67:C3:61:C1:B3:99:2E:F6:BA:2E:92:40:43:1E:62:00:70:A4:E0:DE:69:4C:CE
    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-time
    a=extmap:4 urn:3gpp:video-orientation
    a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
    a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
    a=recvonly
    a=rtcp-mux
    a=rtcp-rsize
    a=rtpmap:96 red/90000
    a=rtpmap:98 ulpfec/90000
    a=rtpmap:99 H264/90000
    a=rtcp-fb:99 ccm fir
    a=rtcp-fb:99 nack
    a=rtcp-fb:99 nack pli
    a=rtcp-fb:99 goog-remb
    a=rtcp-fb:99 transport-cc
    a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
    a=rtpmap:97 rtx/90000
    a=fmtp:97 apt=96
    a=rtpmap:100 rtx/90000
    a=fmtp:100 apt=99

  2. Answer from Edge
    v=0
    o=thisisadapterortc 21773845769322264 0 IN IP4 127.0.0.1
    s=-
    t=0 0
    a=group:BUNDLE audio video
    m=audio 9 UDP/TLS/RTP/SAVPF 111 9 0 8 13 105 126
    c=IN IP4 0.0.0.0
    a=rtcp:9 IN IP4 0.0.0.0
    a=rtpmap:111 opus/48000/2
    a=fmtp:111 minptime=10;useinbandfec=1
    a=rtpmap:9 G722/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:13 CN/8000
    a=rtpmap:105 CN/16000
    a=rtpmap:126 telephone-event/8000
    a=rtcp-mux
    a=ice-ufrag:p2tf
    a=ice-pwd:mv0PE0cGk+Um884z6xhwPBpi
    a=setup:active
    a=fingerprint:sha-256 73:B9:9A:7D:AB:06:ED:0D:F9:2D:87:71:8B:07:7D:C2:FD:D3:FD:AF:84:18:0D:DC:01:F4:56:2A:93:40:E5:51
    a=mid:audio
    a=inactive
    a=ssrc:2002 cname:2vxwoj1qwh
    a=candidate:1 1 UDP 2130706431 192.168.53.71 65328 typ host
    a=candidate:2 1 TCP 1684798975 192.168.53.71 65328 typ srflx raddr 192.168.53.71 rport 65328 tcptype active
    a=end-of-candidates
    m=video 9 UDP/TLS/RTP/SAVPF 99 100
    c=IN IP4 0.0.0.0
    a=rtcp:9 IN IP4 0.0.0.0
    a=rtpmap:99 H264/90000
    a=fmtp:99 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
    a=rtcp-fb:99 nack
    a=rtcp-fb:99 nack pli
    a=rtcp-fb:99 goog-remb
    a=rtpmap:100 rtx/90000
    a=fmtp:100 apt=99
    a=rtcp-mux
    a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=ice-ufrag:p2tf
    a=ice-pwd:mv0PE0cGk+Um884z6xhwPBpi
    a=setup:active
    a=fingerprint:sha-256 73:B9:9A:7D:AB:06:ED:0D:F9:2D:87:71:8B:07:7D:C2:FD:D3:FD:AF:84:18:0D:DC:01:F4:56:2A:93:40:E5:51
    a=mid:video
    a=inactive
    a=ssrc:4004 cname:2vxwoj1qwh
    a=rtcp-rsize

  3. Offer from edge. New stream without audio.
    v=0
    o=thisisadapterortc 21773845769322264 1 IN IP4 127.0.0.1
    s=-
    t=0 0
    a=group:BUNDLE audio video
    a=ice-options:trickle
    m=audio 9 UDP/TLS/RTP/SAVPF 104 102 9 0 8 103 97 13 118 101
    c=IN IP4 0.0.0.0
    a=rtcp:9 IN IP4 0.0.0.0
    a=rtpmap:104 SILK/16000
    a=rtcp-fb:104 x-cinfo
    a=rtcp-fb:104 x-bwe
    a=rtcp-fb:104 x-message app send:dsh recv:dsh
    a=rtpmap:102 opus/48000/2
    a=rtcp-fb:102 x-cinfo
    a=rtcp-fb:102 x-bwe
    a=rtcp-fb:102 x-message app send:dsh recv:dsh
    a=rtpmap:9 G722/8000
    a=rtcp-fb:9 x-cinfo
    a=rtcp-fb:9 x-bwe
    a=rtcp-fb:9 x-message app send:dsh recv:dsh
    a=rtpmap:0 PCMU/8000
    a=rtcp-fb:0 x-cinfo
    a=rtcp-fb:0 x-bwe
    a=rtcp-fb:0 x-message app send:dsh recv:dsh
    a=rtpmap:8 PCMA/8000
    a=rtcp-fb:8 x-cinfo
    a=rtcp-fb:8 x-bwe
    a=rtcp-fb:8 x-message app send:dsh recv:dsh
    a=rtpmap:103 SILK/8000
    a=rtcp-fb:103 x-cinfo
    a=rtcp-fb:103 x-bwe
    a=rtcp-fb:103 x-message app send:dsh recv:dsh
    a=rtpmap:97 RED/8000
    a=rtpmap:13 CN/8000
    a=rtpmap:118 CN/16000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 events=0-16
    a=maxptime:100
    a=rtcp-mux
    a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=extmap:3 http://skype.com/experiments/rtp-hdrext/fast_bandwidth_feedback#version_2
    a=ice-ufrag:p2tf
    a=ice-pwd:mv0PE0cGk+Um884z6xhwPBpi
    a=setup:actpass
    a=fingerprint:sha-256 73:B9:9A:7D:AB:06:ED:0D:F9:2D:87:71:8B:07:7D:C2:FD:D3:FD:AF:84:18:0D:DC:01:F4:56:2A:93:40:E5:51
    a=mid:audio
    a=recvonly
    a=ssrc:2002 cname:2vxwoj1qwh
    a=rtcp-rsize
    a=candidate:1 1 UDP 2130706431 192.168.53.71 65328 typ host
    a=candidate:2 1 TCP 1684798975 192.168.53.71 65328 typ srflx raddr 192.168.53.71 rport 65328 tcptype active
    a=end-of-candidates
    m=video 9 UDP/TLS/RTP/SAVPF 122 107 100 99 96 123
    c=IN IP4 0.0.0.0
    a=rtcp:9 IN IP4 0.0.0.0
    a=rtpmap:122 X-H264UC/90000
    a=fmtp:122 packetization-mode=1;mst-mode=NI-TC
    a=rtcp-fb:122 x-cinfo
    a=rtcp-fb:122 x-bwe
    a=rtcp-fb:122 x-message app send:src,x-pli recv:src,x-pli
    a=rtpmap:107 H264/90000
    a=fmtp:107 profile-level-id=42C02A;packetization-mode=1;level-asymmetry-allowed=1
    a=rtcp-fb:107 x-cinfo
    a=rtcp-fb:107 x-bwe
    a=rtcp-fb:107 nack
    a=rtcp-fb:107 nack pli
    a=rtcp-fb:107 goog-remb
    a=rtpmap:100 VP8/90000
    a=rtcp-fb:100 x-cinfo
    a=rtcp-fb:100 x-bwe
    a=rtcp-fb:100 nack
    a=rtcp-fb:100 nack pli
    a=rtcp-fb:100 goog-remb
    a=rtpmap:99 rtx/90000
    a=fmtp:99 apt=107;rtx-time=3000
    a=rtpmap:96 rtx/90000
    a=fmtp:96 apt=100;rtx-time=3000
    a=rtpmap:123 x-ulpfecuc/90000
    a=rtcp-mux
    a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=extmap:3 http://skype.com/experiments/rtp-hdrext/fast_bandwidth_feedback#version_2
    a=ice-ufrag:p2tf
    a=ice-pwd:mv0PE0cGk+Um884z6xhwPBpi
    a=setup:actpass
    a=fingerprint:sha-256 73:B9:9A:7D:AB:06:ED:0D:F9:2D:87:71:8B:07:7D:C2:FD:D3:FD:AF:84:18:0D:DC:01:F4:56:2A:93:40:E5:51
    a=mid:video
    a=sendrecv
    a=msid:813CC339-DEF0-45A7-A1C3-5F6713008ABC 9DF02A40-8EF7-4AF1-919C-8220AEF5DE6F
    a=ssrc:4004 msid:813CC339-DEF0-45A7-A1C3-5F6713008ABC 9DF02A40-8EF7-4AF1-919C-8220AEF5DE6F
    a=ssrc:4005 msid:813CC339-DEF0-45A7-A1C3-5F6713008ABC 9DF02A40-8EF7-4AF1-919C-8220AEF5DE6F
    a=ssrc-group:FID 4004 4005
    a=ssrc:4004 cname:2vxwoj1qwh
    a=ssrc:4005 cname:2vxwoj1qwh
    a=rtcp-rsize

  4. And answer that I can't set by setLocalDescription
    v=0
    o=- 192360276891773823 3 IN IP4 127.0.0.1
    s=-
    t=0 0
    a=group:BUNDLE audio video
    a=msid-semantic: WMS 0db5ba2a-523e-4c39-a08e-2970aa2fc143
    m=audio 50364 UDP/TLS/RTP/SAVPF 102 9 0 8 13 118 101
    c=IN IP4 52.2.220.216
    a=rtcp:9 IN IP4 0.0.0.0
    a=candidate:197280124 1 udp 2113937151 192.168.53.98 57930 typ host generation 0 network-cost 50
    a=candidate:842163049 1 udp 1677729535 46.53.188.154 57930 typ srflx raddr 192.168.53.98 rport 57930 generation 0 network-cost 50
    a=candidate:1012630912 1 udp 33562623 52.2.220.216 50364 typ relay raddr 46.53.188.154 rport 57930 generation 0 network-cost 50
    a=candidate:733001342 1 udp 33562367 52.2.198.163 59873 typ relay raddr 46.53.188.154 rport 57930 generation 0 network-cost 50
    a=ice-ufrag:pHAr
    a=ice-pwd:aUa0aX5EC44V7XJhTYQealQ2
    a=ice-options:trickle
    a=fingerprint:sha-256 61:E9:F8:A5:70:B3:2D:59:1F:67:C3:61:C1:B3:99:2E:F6:BA:2E:92:40:43:1E:62:00:70:A4:E0:DE:69:4C:CE
    a=setup:passive
    a=mid:audio
    a=inactive
    a=rtcp-mux
    a=rtpmap:102 opus/48000/2
    a=fmtp:102 minptime=10;useinbandfec=1
    a=rtpmap:9 G722/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:13 CN/8000
    a=rtpmap:118 CN/16000
    a=rtpmap:101 telephone-event/8000
    m=video 59688 UDP/TLS/RTP/SAVPF 107 99
    c=IN IP4 52.2.220.216
    a=rtcp:9 IN IP4 0.0.0.0
    a=candidate:197280124 1 udp 2113937151 192.168.53.98 49934 typ host generation 0 network-cost 50
    a=candidate:842163049 1 udp 1677729535 46.53.188.154 49934 typ srflx raddr 192.168.53.98 rport 49934 generation 0 network-cost 50
    a=candidate:1012630912 1 udp 33562623 52.2.220.216 59688 typ relay raddr 46.53.188.154 rport 49934 generation 0 network-cost 50
    a=candidate:733001342 1 udp 33562367 52.2.198.163 57472 typ relay raddr 46.53.188.154 rport 49934 generation 0 network-cost 50
    a=ice-ufrag:pHAr
    a=ice-pwd:aUa0aX5EC44V7XJhTYQealQ2
    a=ice-options:trickle
    a=fingerprint:sha-256 61:E9:F8:A5:70:B3:2D:59:1F:67:C3:61:C1:B3:99:2E:F6:BA:2E:92:40:43:1E:62:00:70:A4:E0:DE:69:4C:CE
    a=setup:passive
    a=mid:video
    a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    a=sendrecv
    a=rtcp-mux
    a=rtcp-rsize
    a=rtpmap:107 H264/90000
    a=rtcp-fb:107 nack
    a=rtcp-fb:107 nack pli
    a=rtcp-fb:107 goog-remb
    a=fmtp:107 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
    a=rtpmap:99 rtx/90000
    a=fmtp:99 apt=107
    a=ssrc-group:FID 3986016173 2761859812
    a=ssrc:3986016173 cname:uYEPOSeX2GuwL78R
    a=ssrc:3986016173 msid:0db5ba2a-523e-4c39-a08e-2970aa2fc143 0eb52ad9-d0c3-4bff-8a49-29646c1c6c0a
    a=ssrc:3986016173 mslabel:0db5ba2a-523e-4c39-a08e-2970aa2fc143
    a=ssrc:3986016173 label:0eb52ad9-d0c3-4bff-8a49-29646c1c6c0a
    a=ssrc:2761859812 cname:uYEPOSeX2GuwL78R
    a=ssrc:2761859812 msid:0db5ba2a-523e-4c39-a08e-2970aa2fc143 0eb52ad9-d0c3-4bff-8a49-29646c1c6c0a
    a=ssrc:2761859812 mslabel:0db5ba2a-523e-4c39-a08e-2970aa2fc143
    a=ssrc:2761859812 label:0eb52ad9-d0c3-4bff-8a49-29646c1c6c0a

@fippo
Copy link
Member

fippo commented Jan 10, 2018

Thanks. Are you calling createOffer with ({offerToReceiveAudio: true, offerToReceiveVideo: true})?

The second error seems to be related to the change of offer-answer roles even though it does not make sense for Safari to error in SLD. This might be fixed by #80 but that is not published on npm yet. Will take a look.

@Imperiz
Copy link
Author

Imperiz commented Jan 10, 2018

Yes, I'm calling with both offerToReceiveAudio and offerToReceiveVideo.

I tried to use this fix, but I've got "Failed to set local sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters.." error in chrome. And it didn't fix the problem with an error in Safari.

@fippo
Copy link
Member

fippo commented Jan 10, 2018

repro fiddle for the last issue: https://jsfiddle.net/bwbcy7LL/1/ (audio-only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants