Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Error Detail Type: Failed to set remote offer sdp: Failed to set remote video description send param

Discussion in 'Unity Render Streaming' started by jejhosua, Jan 21, 2021.

  1. jejhosua

    jejhosua

    Joined:
    Aug 3, 2020
    Posts:
    5
    I have this error when trying to set the remote description. I'm using version 2.3.1 WebRTC plugin. Is there anyone that knows what's going on?

    Error Detail Type: Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid='1


    the sdp is this:

    Code (CSharp):
    1. v=0
    2. o=- 7299763484283908201 2 IN IP4 127.0.0.1
    3. s=-
    4. t=0 0
    5. a=group:BUNDLE 0 1 2
    6. a=msid-semantic: WMS
    7. m=audio 9 UDP/TLS/RTP/SAVPF 111 110
    8. c=IN IP4 0.0.0.0
    9. a=rtcp:9 IN IP4 0.0.0.0
    10. a=ice-ufrag:x7SG
    11. a=ice-pwd:6nlfUcWoXc0ojF+4tBj6V7WO
    12. a=ice-options:trickle
    13. a=fingerprint:sha-256  HIDDEN
    14. a=setup:actpass
    15. a=mid:0
    16. a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
    17. a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    18. a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
    19. a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
    20. a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
    21. a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
    22. a=recvonly
    23. a=rtcp-mux
    24. a=rtpmap:111 opus/48000/2
    25. a=rtcp-fb:111 transport-cc
    26. a=fmtp:111 minptime=10;useinbandfec=1
    27. a=rtpmap:110 telephone-event/48000
    28. m=video 9 UDP/TLS/RTP/SAVPF 127 126 125 102 103 104 105 98 99 100
    29. c=IN IP4 0.0.0.0
    30. a=rtcp:9 IN IP4 0.0.0.0
    31. a=ice-ufrag:x7SG
    32. a=ice-pwd:6nlfUcWoXc0ojF+4tBj6V7WO
    33. a=ice-options:trickle
    34. a=fingerprint:sha-256 HIDDEN
    35. a=setup:actpass
    36. a=mid:1
    37. a=extmap:14 urn:ietf:params:rtp-hdrext:toffset
    38. a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
    39. a=extmap:13 urn:3gpp:video-orientation
    40. a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
    41. a=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
    42. a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
    43. a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
    44. a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space
    45. a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
    46. a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
    47. a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
    48. a=recvonly
    49. a=rtcp-mux
    50. a=rtcp-rsize
    51. a=rtpmap:127 VP8/90000
    52. a=rtcp-fb:127 goog-remb
    53. a=rtcp-fb:127 transport-cc
    54. a=rtcp-fb:127 ccm fir
    55. a=rtcp-fb:127 nack
    56. a=rtcp-fb:127 nack pli
    57. a=rtpmap:126 VP9/90000
    58. a=rtcp-fb:126 goog-remb
    59. a=rtcp-fb:126 transport-cc
    60. a=rtcp-fb:126 ccm fir
    61. a=rtcp-fb:126 nack
    62. a=rtcp-fb:126 nack pli
    63. a=fmtp:126 profile-id=0
    64. a=rtpmap:125 VP9/90000
    65. a=rtcp-fb:125 goog-remb
    66. a=rtcp-fb:125 transport-cc
    67. a=rtcp-fb:125 ccm fir
    68. a=rtcp-fb:125 nack
    69. a=rtcp-fb:125 nack pli
    70. a=fmtp:125 profile-id=2
    71. a=rtpmap:102 VP9/90000
    72. a=rtcp-fb:102 goog-remb
    73. a=rtcp-fb:102 transport-cc
    74. a=rtcp-fb:102 ccm fir
    75. a=rtcp-fb:102 nack
    76. a=rtcp-fb:102 nack pli
    77. a=fmtp:102 profile-id=1
    78. a=rtpmap:103 rtx/90000
    79. a=fmtp:103 apt=102
    80. a=rtpmap:104 AV1X/90000
    81. a=rtcp-fb:104 goog-remb
    82. a=rtcp-fb:104 transport-cc
    83. a=rtcp-fb:104 ccm fir
    84. a=rtcp-fb:104 nack
    85. a=rtcp-fb:104 nack pli
    86. a=rtpmap:105 rtx/90000
    87. a=fmtp:105 apt=104
    88. a=rtpmap:98 red/90000
    89. a=rtpmap:99 rtx/90000
    90. a=fmtp:99 apt=98
    91. a=rtpmap:100 ulpfec/90000
    92. m=application 9 UDP/DTLS/SCTP webrtc-datachannel
    93. c=IN IP4 0.0.0.0
    94. a=ice-ufrag:x7SG
    95. a=ice-pwd:6nlfUcWoXc0ojF+4tBj6V7WO
    96. a=ice-options:trickle
    97. a=fingerprint:sha-256 HIDDEN
    98. a=setup:actpass
    99. a=mid:2
    100. a=sctp-port:5000
    101. a=max-message-size:262144
    102.  
     
    Last edited: Jan 21, 2021
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796
    Can I have a minimum project to reproduce the issue?
    Thanks
     
  3. jejhosua

    jejhosua

    Joined:
    Aug 3, 2020
    Posts:
    5
    Let me try. I'm using a Signaler Server to pass the Offer from peer to peer, instead of "GetOtherPc" function in the examples. So I'm reconstructing the RTCSessionDescription object in the remote side(callee). The sdp string is identical to the one that was generated to the local peer (caller) and the type is properly set in the initial data. But trying to set this new created object with the SetRemoteDescription produces this error. This only happens when RECONSTRUCTING RTCSessionDescription from type and sdp string. It doesn't happen in the examples where the RTCSessionDescription object is passed by ref.
     
  4. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796