Open amanpoplify opened 6 years ago
How can I get lists of connected users by their room id?
yes, you can, like this:(this should be a tad buggy, I just made it here for you) var list[]; webrtc.on('createdPeer', function (peer) { var pyd = peer.id list.push(pyd); }
var list[]; webrtc.on('createdPeer', function (peer) { var pyd = peer.id list.push(pyd); }
How can I get lists of connected users by their room id?