You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: