apprtc icon indicating copy to clipboard operation
apprtc copied to clipboard

Failed to set remote video description send parameters

Open EscoCreeks opened this issue 6 years ago • 0 comments

Browsers and versions affected Chrome on Android one side, Safari on iPhone on the other. User Agent 1 : Mozilla/5.0 (Linux; Android 8.1.0; CLT-L29 Build/HUAWEICLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36 User Agent 2 : Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1

Description When going to a room with two devices, we get a warning error, and it does not work.

Steps to reproduce

  • Using HUAWEI P20 Pro (model CLT-L29, Android 8.1.0)
  • Using iPhone 7 (iOS 11.4)
  • Connect to the same room (we used https://appr.tc/r/foobar)
  • Get the error

Expected results Seeing the remote video and everything working

Actual results Red warning div with the following text:

iPhone Side:

States:     
Signaling:  stable
Gathering:  complete
Connection: new
Local:      host:1 srflx:1 relay:2
Remote:     host:1 srflx:1 relay:3

Stats:      
Call time:  15:58
Setup time: 0 ms

Messages:  
setRemoteDescription: OperationError: Failed to set remote offer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..
setLocalDescription: OperationError: Failed to set local sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..
setRemoteDescription: OperationError: Failed to set remote answer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..

Version:    
gitHash:    20cdd7652d58c9cf47ef92ba0190a5505760dc05
branch:     master
time:       Fri Mar 9 17:06:42 2018 +0100

Android Side:

States:     
Signaling:  stable
Gathering:  new
Connection: new
Local:      
Remote:     host:1 srflx:1 relay:2

Stats:      
Call time:  20:52
Setup time: 0 ms

Messages:  
setRemoteDescription: InvalidAccessError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Failed to set remote video description send parameters.
setLocalDescription: OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..

Version:    
gitHash:    20cdd7652d58c9cf47ef92ba0190a5505760dc05
branch:     master
time:       Fri Mar 9 17:06:42 2018 +0100

Plus, on Android we have the logs:

0.398: Initializing; server= undefined.
0.399: Initializing; room=foobar.
0.544: Retrieved ICE server information.
0.572: Got access to local media with mediaConstraints:
  '{"audio":true,"video":true}'
0.572: User has granted access to local media.
0.572: Attaching local stream.
1.783: Opening signaling channel.
2.071: Joined the room.
2.253: Signaling channel opened.
2.253: Registering signaling channel.
2.253: Signaling channel registered.
2.254: Starting signaling.
2.258: ECDSA certificate generated successfully.
2.258: Creating RTCPeerConnnection with:
  config: '{"rtcpMuxPolicy":"require","bundlePolicy":"max-bundle","iceServers":[{"urls":["stun:74.125.140.127:19302","stun:[2a00:1450:400c:c08::7f]:19302"]},{"urls":["turn:74.125.140.127:19305?transport=udp","turn:[2a00:1450:400c:c08::7f]:19305?transport=udp","turn:74.125.140.127:19305?transport=tcp","turn:[2a00:1450:400c:c08::7f]:19305?transport=tcp"],"username":"CO2rqd0FEgb4n7pqzKcYzc/s6OMTIICjBQ","credential":"D7HCLa0wZK3V7EX+eJ84e/eLOEc=","maxRateKbps":"8000"}],"certificates":[{}]}';
  constraints: '{"optional":[]}'.
2.263: Created PeerConnectionClient
2.263: Adding local stream.
2.265: No preference on audio send codec.
2.266: No preference on video send codec.
2.268: Sending answer to peer.
2.295: setRemoteDescription: InvalidAccessError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Failed to set remote video description send parameters.
2.297: No preference on audio receive codec.
2.297: Prefer video receive codec: VP9
2.298: C->WSS: {"sdp":"v=0\r\no=- 1641146389574814471 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS 8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:oUcF\r\na=ice-pwd:eFUSSyxr+ERuQa7sZWOfmupz\r\na=ice-options:trickle\r\na=fingerprint:sha-256 39:F4:E6:5E:EC:01:25:0E:40:7D:06:C6:DE:96:1F:F7:8A:07:A5:0E:C6:C4:D1:0A:5B:C3:0A:4B:60:4C:16:49\r\na=setup:active\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:3457439062 cname:pltUz7jfwLfmgfun\r\na=ssrc:3457439062 msid:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ c37daec6-8a0c-44e5-9f0e-2586c46eeeea\r\na=ssrc:3457439062 mslabel:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ\r\na=ssrc:3457439062 label:c37daec6-8a0c-44e5-9f0e-2586c46eeeea\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 98 97\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:oUcF\r\na=ice-pwd:eFUSSyxr+ERuQa7sZWOfmupz\r\na=ice-options:trickle\r\na=fingerprint:sha-256 39:F4:E6:5E:EC:01:25:0E:40:7D:06:C6:DE:96:1F:F7:8A:07:A5:0E:C6:C4:D1:0A:5B:C3:0A:4B:60:4C:16:49\r\na=setup:active\r\na=mid:video\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=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 red/90000\r\na=rtpmap:98 ulpfec/90000\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=ssrc-group:FID 3848469565 3638201717\r\na=ssrc:3848469565 cname:pltUz7jfwLfmgfun\r\na=ssrc:3848469565 msid:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ e776ba8d-b9f1-42b7-bd72-d53e562e7188\r\na=ssrc:3848469565 mslabel:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ\r\na=ssrc:3848469565 label:e776ba8d-b9f1-42b7-bd72-d53e562e7188\r\na=ssrc:3638201717 cname:pltUz7jfwLfmgfun\r\na=ssrc:3638201717 msid:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ e776ba8d-b9f1-42b7-bd72-d53e562e7188\r\na=ssrc:3638201717 mslabel:8yB6iHH1aXtuC3eSQC1eP9ejOmuGn4DfgetJ\r\na=ssrc:3638201717 label:e776ba8d-b9f1-42b7-bd72-d53e562e7188\r\n","type":"answer"}
2.298: Remote candidate added successfully.
2.299: Remote candidate added successfully.
2.307: setLocalDescription: OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Session error code: ERROR_CONTENT. Session error description: Failed to set remote video description send parameters..

We have similar issues with the same HUAWEI and other iPhones.

Can you guide us or explain us what is the issue ? The logs aren't very helpful here.. :)

EscoCreeks avatar Sep 24 '18 16:09 EscoCreeks