Open
Description
I made some tweaks to my local copy that allow dev's to retrieve the index of a user added to the room. My project requires only the first users camera to be used, but this could be used for other purposes as well, I would imagine.
Basically, you end up with (on the client side):
rtc.users[socket.id] = userIndex;
This requires some small updates to the server branch, sending "roomList" and "you" from within new_peer_connected and get_peers.
Would this be something you'd like to include?
Metadata
Metadata
Assignees
Labels
No labels