WebRTC with PeerJS: iceConnectionState Disconnected?

强颜欢笑 提交于 2019-12-02 03:37:18

问题


I have a node app in each of my machines running this example on localhost with a PeerServer key that I made. When I try initiating a call between the two, the connection is established (as in, the receiver says it got a call from the sender). However, the Media Streams are also initiated (black boxes show up in the video divs), and then the connection stops because "iceConnectionState is disconnected".

What could be causing this problem? Is it some sort of configuration issue? I'm using two Macs running Yosemite.

来源:https://stackoverflow.com/questions/31750312/webrtc-with-peerjs-iceconnectionstate-disconnected

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!