Voice Call
  • iOS : Objective-C
  • Android
  • Web
  • Flutter
  • React Native
  • Electron
  • Unity3D
  • Cocos Creator
  • Windows
  • macOS
  • Linux
  • Overview
  • Develop your app
    • Integrate the SDK
    • Implement a basic voice call
    • Enhance basic feature
      • Use Tokens for authentication
      • Set up common audio config
      • Check the room connection status
  • Upgrade using advanced features
    • Advanced features
      • Configure the audio
        • Beautify & Change the voice
      • Improve audio quality
        • Test network and devices in advance
        • Monitor streaming quality
        • Visualize the sound level
      • Message signaling
        • Broadcast real-time messages to a room
        • Convey extra information using SEI
        • Quotas and limits
      • Play media files
        • Play media files
        • Play sound effects
      • Mix the streams
      • Record media data
      • Encrypt the streams
    • Distincitve features
      • Join multiple rooms
      • Customize the audio
      • Play streams via URL
      • Low-latency live streaming
  • Resources & Reference
    • SDK
    • Sample code
    • API reference
    • Debugging
    • FAQs
    • Key concepts
  • Documentation
  • Voice Call
  • Upgrade using advanced features
  • Advanced features
  • Message signaling
  • Quotas and limits

Quotas and Limits

Last updated:2023-04-09 15:53

This article introduces the usage restrictions of ZEGO Express SDK and room service, including frequency restrictions, string size, etc.

Room

  • 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.

In-room real-time messages

SDK Interface Name Interface Description Size Limit Sending Frequency Limit
(in the whole room)
remarks
sendBroadcastMessage Broadcast message
  • If you access the SDK version 1.12.3 (released on 2020-08-06) and above, the message length cannot exceed 1 KB.
  • If you connect to the SDK version below 1.12.3, the message length cannot exceed 512 B.
    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
    • If you access the SDK version 1.12.3 (released on 2020-08-06) and above, the message length cannot exceed 1 KB.
    • If you connect to the SDK version below 1.12.3, the message length cannot exceed 512 B.
      20 times/s

      The message is not guaranteed to be reliable.

      sendCustomCommand Custom signaling
      • If you access the SDK version 1.12.3 (released on 2020-08-06) and above, the message length cannot exceed 1 KB.
      • If you connect to the SDK version below 1.12.3, the message length cannot exceed 512 B.
        • When sending to a single person: 200 messages/s
        • When sending to multiple people: 10 messages/s

        Reliable messages.

        When the number of people online in the room exceeds 500, sending to multiple people is not supported.

        Additional room information

        SDK Interface Name Interface Description Size Limit Sending Frequency Limit
        (in the whole room)
        setRoomExtraInfo Room additional information
        • key: The key value of the additional message of the room, which cannot exceed 10 bytes, and is not allowed to be an empty string. Only one type is allowed to be set in a room.
        • value: The additional information content of the room, cannot exceed 128 bytes, and an empty string is allowed.
        10 times/s
        Page Directory