Adobe Connect User Community
Menu

#1 2011-06-27 21:59:20

**_Olden_**

SDK - Attendee List array?

Hi,

Is there a ready-made attendee list array that's accessible via the 7.x SDK? (I couldn't find anything in the documentation.)

I.e. can I call something like

   attendeeList.length

to get the number of attendees in a room or

   attendeeList[0]

to get the name or ID of the first person in the list?

If no such array is available, what's the preferred way to generate such a list of attendees in a room?

Thanks very much!
~O

Offline

#2 2011-06-28 09:05:42

alistairlee

Re: SDK - Attendee List array?

Hey Olden,

There is an array of attendees including their names, role, and ID in the C8 SDK - but I don't recall this being available in C7.

One way to get around it might be to have a broadcast message on the caughtUp function.  Something like:

  syncConnector.allowParticipantPublish("addNewUser",true);   //make sure everyone can broadcast this msg
  syncConnector.dispatchSyncMessage("addNewUser",syncConnector.userName);

Offline

#3 2011-06-29 02:56:21

**_Olden_**

Re: SDK - Attendee List array?

Brilliant work around. Thank you, Alistair!

Offline

#4 2012-09-07 08:47:12

**_tn77_**

Re: SDK - Attendee List array?

In this case, what is the ID for the user? Just an index? I'd like to get the principal-id of the user. How can I get that?

Offline

Board footer