2017-09-06 39 views
0

我正在尝试RTCDataChannel(webRTC)。RTCDataChannel就绪状态卡住在Chrome中连接但在Firefox中工作

它在Firefox中运行良好,但不在Chrome中运行。

Chrome和Firefox都是最新版本。

RTCDataChannel对象在Chrome: -

RTCDataChannel { 
binaryType: "arraybuffer" 
bufferedAmount: 0 
bufferedAmountLowThreshold: 0 
id: 65535 
label: "sendDataChannel" 
maxRetransmitTime: 65535 
maxRetransmits: 65535 
negotiated: false 
onbufferedamountlow: null 
onclose: null 
onerror: ƒ (event) 
onmessage: ƒ (event) 
onopen: ƒ dataChannelStateChanged() 
ordered: true 
protocol: "" 
readyState: "connecting" 
reliable: false__proto__:} 

RTCDataChannel对象在Firefox: -

DataChannel { 
binaryType: "blob" 
id: 0 
label: "sendDataChannel", 
reliable: true, 
readyState: "open", 
bufferedAmount: 0, 
bufferedAmountLowThreshold: 0, 
onopen: dataChannelStateChanged(), 
onerror: create_peer_connection/dataChannel.onerror(), 
onclose: null, 
onmessage: create_peer_connection/dataChannel.onmessage(), 
onbufferedamountlow: null 
protocol:"" 
ordered:true} 

我已经通过下面的链接去: -

  1. WebRTC data channel stack on readyState "conecting"
  2. WebRTC dataChannel.readyState stalling on "connecting"
  3. RTCDataChannel's ReadyState is not 'open'
  4. Webrtc Data Channel always in connecting state and not open

请表明这可能是Chrome的问题背后的原因是什么?

回答

相关问题