Getting Nuve user name and role from the javascript side

Hi,

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.

Thanks.
-w

Hi,

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.

Best regards,
Álvaro2013/5/23 Wubin vvubin@gmail.com

Hi,

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.

Thanks.
-w


You received this message because you are subscribed to the Google Groups
"lynckia" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Álvaro