Webrtc 为什么我的peerconnection不';不产生ice候选人?
我在WebRTC工作。 在我的peerconnection中,我添加了localdescription(offer)和remotedescription(answer)。 但我看不到有冰生成Webrtc 为什么我的peerconnection不';不产生ice候选人?,webrtc,Webrtc,我在WebRTC工作。 在我的peerconnection中,我添加了localdescription(offer)和remotedescription(answer)。 但我看不到有冰生成 RTCPeerConnection {localDescription: RTCSessionDescription, remoteDescription: RTCSessionDescription, signalingState: "have-local-offer", iceGatheringStat
RTCPeerConnection {localDescription: RTCSessionDescription, remoteDescription: RTCSessionDescription, signalingState: "have-local-offer", iceGatheringState: "new", iceConnectionState: "new", …}
他们总是呆在新的状态。
里面有提议和回答。
有什么我错过的吗
您是否通过addTrack添加了曲目或创建了数据频道?否则就没有什么可谈判的,您的报价也不会包含任何mediasection(以m=)的内容。谢谢兄弟,我发现我忘了在我的peerconnection中添加Stream