peerjs
peerjs copied to clipboard
Disconnected when multiple connections are made
I have set up a media and data connection with Peer.js. The connection was broken when a third person disconnect to the same ID. Is there any chance of requesting if there is a connection on this ID? I tried the Peer.getConnection function, but I need to know the connectionID to run it. I'd appreciate it if you helped.
var peer = new Peer([memberDataID],{host: 'domain.com', port:9000});
peer.getConnection(memberDataID,**connectionId**)