Username in Erizo controller front-end

Hello

I’m currently developing video-conference software for my company.
My problem:
It is possible to extract username directly in front-end from
stream-subscibed event? When asking licode for room token i have to pass
username:
N.API.createToken(roomID, username, “presenter”, function (token) { … });

But I dont have that information on client-side. One user do not know names
of other users. It would be great if username would be passed in event:

room.addEventListener(“stream-subscribed”, function(streamEvent) {
var stream = streamEvent.stream; var name = stream.getUsername; //Or
something

Is it possible without sending additional data from my webserver?

Thank You in advance
Mathew

Hi,

right now it is not possible. You have to keep this relation in your own
application.

Thanks for the commnent, we will take a look!

BR2014-11-12 16:17 GMT+01:00 Mateusz Juźwiak mazicort@gmail.com:

Hello

I’m currently developing video-conference software for my company.
My problem:
It is possible to extract username directly in front-end from
stream-subscibed event? When asking licode for room token i have to pass
username:
N.API.createToken(roomID, username, “presenter”, function (token) { …
});

But I dont have that information on client-side. One user do not know
names of other users. It would be great if username would be passed in
event:

room.addEventListener(“stream-subscribed”, function(streamEvent) {
var stream = streamEvent.stream; var name = stream.getUsername; //Or
something

Is it possible without sending additional data from my webserver?

Thank You in advance
Mathew


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/d/optout.

Álvaro