This article introduces the usage restrictions of ZEGO Express SDK and room service, including frequency restrictions, string size, etc.
ZEGO Room Service supports a single room with millions of users online at the same time. By default, the total QPS of all users in each room is 200, which means that up to 200 users can log in to the same room per second.
When the number of people in the room exceeds 500, the user login/logout callback and the user list callback will be closed. It is recommended that developers maintain the user list on their business server.
If you need to increase the limit, please contact ZEGO technical support to request an evaluation.
SDK Interface Name | Interface Description | Size Limit | Sending Frequency Limit (in the whole room) |
remarks |
---|---|---|---|---|
sendBroadcastMessage | Broadcast message |
|
10 times/s | Reliable messages. The minimum interface call interval is 500 ms. It is not supported when the number of people online in the room exceeds 500. |
sendBarrageMessage | Barrage message |
|
20 times/s | The message is not guaranteed to be reliable. |
sendCustomCommand | Custom signaling |
|
|
Reliable messages. When the number of people online in the room exceeds 500, sending to multiple people is not supported. |
SDK Interface Name | Interface Description | Size Limit | Sending Frequency Limit (in the whole room) |
---|---|---|---|
setRoomExtraInfo | Room additional information |
|
10 times/s |