WebRTC SDP使用GeckoFX解析错误

时间:2016-03-08 14:59:53

标签: javascript c# webrtc geckofx

我在浏览器和GeckoFX之间使用WebRTC。 但是当我调用RTCPeerConnection.setRemoteDescription()时,c#应用程序中会出现一些错误。

Could not process offer SDP: cause = SDP_PARSE_FAILED | SDP Parsing Error:
Warning: Group attribute type unsupported (BUNDLE). | SDP Parsing Error:
Warning: Unrecognized attribute (maid-semantic) | SDP Parsing Error:
Warning: Transport protocol type unsupported (UDP/TLS/RTP/SAVPF). | SDP
Parsing Error: Invalid port format(9) specified for transport protocol (Unsupported), parse failed.

为什么会这样?

1 个答案:

答案 0 :(得分:1)

  

为什么会这样?

调用时 您的堆栈pc.setRemoteDescription(sessionDescription, successCallback, errorCallback);正在从远程解析sessionDescription(SDP)。此

  

description defines the properties of the connection like its codec.

并有format like

   v=0
   o=bob 2808844564 2808844564 IN IP4 biloxi.example.com
   s=
   c=IN IP4 biloxi.example.com
   t=0 0
   m=audio 20000 RTP/AVP 0 # m=audio 1 UDP/TLS/RTP/SAVPF 111 103 104 0 8 126
   b=AS:200
   a=rtpmap:0 PCMU/8000
   m=video 30000 RTP/AVP 32
   b=AS:1000
   a=rtpmap:32 MPV/90000

在您的情况下,远程描述包含某些属性(bundlemaid-semantic ...) 客户不支持。您可能需要升级Browser you are using