簡體   English   中英

使用GeckoFX的WebRTC SDP解析錯誤

[英]WebRTC SDP Parsing error with 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.

為什么會發生這種情況?

為什么會發生這種情況?

當調用pc.setRemoteDescription(sessionDescription, successCallback, errorCallback); 您的堆棧正在從遠程解析sessionDescription( SDP )。 這個

描述定義了連接的屬性,例如其編解碼器。

並具有如下格式

   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 ...)。 您可能必須升級正在使用瀏覽器

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM