webrtc-rails
webrtc-rails copied to clipboard
webrtc unique user id
hi, my name is Robert.
I thank you for the code https://github.com/XescuGC/webrtc-rails
I can udertand more about webrtc, in internet there are few examples of rails with webrtc.
I do not know much about node, so I apologize if the question is silly. I was wondering if it is possible, to have a unique id of the user to be able to relate it with an email or user. Something like google hangup.
Thanks 😁
Hi!
I don't know exactly what you want to do but you could from the client send the email of the current client to the server and identify the socket for the client (this would be the easy way).
For more examples this stackoverflow link can help you: http://stackoverflow.com/questions/10673295/socket-io-identify-user-for-socket
Hope it was helpful :)