I do know we can set and get attributes in the javascript side with the
Erizo.Stream constructor, but what I really want is getting Nuve user name
and role from javascript. Is there any way to do it? I can query Nuve user
and role from the app server and then pass it to the javascript, but I
don’t think this is a good method.
really that is the method. The users and roles management is made by nuve
and server side of your application. If you want to identify a Stream in
client side you have to do it using the attribute param in the Stream.
I do know we can set and get attributes in the javascript side with the
Erizo.Stream constructor, but what I really want is getting Nuve user name
and role from javascript. Is there any way to do it? I can query Nuve user
and role from the app server and then pass it to the javascript, but I
don’t think this is a good method.