I'm playing around with the VideoConference sample. Is there a way to check how many people are on camera?
I see every liveCast gets an id. My goal is to prevent users from starting broadcasting, as soon as there are 8 people on cam. I tried something like this in VideoConference.as:
Code: Select all
if(!videoContainer.contains(liveCast.8)
{
bt_joinConf.enabled = false;
bt_leaveConf.enabled = true;
}
Am I on the right track? I think I'm overlooking something..
Riccardo