User settings

View as Markdown

List users in a meeting

When you are hosting a meeting, you will be able to manage your participants, in order to perform operations on a specific user, you might want to list all users in the meeting and get the information of one of them.

MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService]; NSArray *users = [ms getInMeetingUserList];

NSLog(@"In Meeting users:%zd", users.count);
MobileRTCMeetingUserInfo *myself = [ms getMyUserInfo];
NSLog(@"In Meeting myself:%@", myself);

If you would like to monitor the status when the users get updated, you can implement the inMeetingUserUpdated method:

- (void)inMeetingUserUpdated
{
    NSLog(@"inMeetingUserUpdated");
}