我在浏览器和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.


为什么会发生这种情况?

最佳答案

为什么会发生这种情况?


调用时
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

09-13 03:49