My app has changed quite a bit since my first post so let me ask my question again with more specifics.
First off, the only component I'm using is the People List.
My app separates users from the beginning into 2 groups: the speaker or admin; and everyone else.
When regular users log on, they publish a video stream using their unique name. The video does not start yet.
Everyone can view the people list but only the speaker can click on a name to execute a function. When the speaker does click on a name, I would like that persons stream to begin playing for all users.
Basically the speaker gets to decide who everyone sees.
I can make a shared object which keeps each users unique name. How can I call that unique name and send it to the
myStream.play(***unique name***) automatically playing the video for all users?
BTW: the unique name is located here...
Please let me know if I need to give more info.
Granted - that is using a simple listbox component for the people list, instead of the People list component. I haven't messed with the components much, but it seems that it's merely a listbox with some extras. Look it up in the pdf that comes with the components, I'm guessing there is a predefined method you can use to get the selected user.