peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Disconnected when multiple connections are made

Open ByDodo opened this issue 6 years ago • 0 comments

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**)

ByDodo avatar Oct 08 '19 15:10 ByDodo