Expand my Community achievements bar.

Getting number of users in each room

Avatar

Level 2

Hi,

Suppose a user enters a meeting room, call it the lobby, and sees a list of other rooms. How can I get the number of users in each of those other rooms without actually joining/connecting to each room?

Thanks,

Graeme

4 Replies

Avatar

Employee

Currently from a room you cannot see a list of other rooms, and there isn't a way to get the number of users from rooms you are not connected to.

We are working on some server-to-server API that will allow you to have an application server (a webapp written in php / rails / java etc.) that can receive notifications from running rooms in your account and pass them to your clients.

Avatar

Level 2

OK, thanks. Keep up the good work!

Avatar

Former Community Member

Yes, we do have server-to-server APIs, available since the April release.

Check out the developer guide pdf, there's a whole chapter on using them =).

For a list of users, you'd likely want to fetchItems on CollectionNode

"UserManager", node "UserList". You'll get a set of userDescriptors.

Hope that helps,

nigel