Products / Plugins：Video Call / Voice Call / ZEGO Live
Platform / Framework：iOS / Android / macOS / Windows
Last updated：2021-09-26 15:15
During live streaming, there are times and occasions when you want to know updates on the status of other users in the room (join or leave the room), which helps you making follow-up operations, such as UI displaying, and VIP users status displaying.
The solutions depend on the user numbers.
When online users in the room ≤ 500: Listen for the callback
onRoomUserUpdate to receive and handle the event callbacks for updates on the status of other users in the room. When other users join or leave the room, the SDK sends out the event notification through this callback.
When online users in the room > 500: We recommend you maintain your own user list. Or consult ZEGO technical support for more information.
The following describes the solution using the
Each user will need to set the
isUserStatusNotify property to
true when logging in to a room.
The following are some restrictions for this solution:
The number of concurrent requests per second is 200/sec by default, which means a maximum of 200 users can log in to a room per second.
When the room users exceed 500, no more login/logout (join/leave) notifications will be generated for users who log in to the room after the number exceeds 500, that is, all users in the room will not receive a notification when new users join in the room or leave the room through the
In this case, we recommend you maintain your own user list. Or consult ZEGO technical support for more information.