Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ZegoRoomConfig

Advanced room configuration.

Configure maximum number of users in the room and authentication token, etc.

Hierarchy

  • ZegoRoomConfig

Index

Properties

isUserStatusNotify

isUserStatusNotify: boolean

Whether to enable the user in and out of the room callback notification [onRoomUserUpdate], the default is off. If developers need to use ZEGO Room user notifications, make sure that each user who login sets this flag to true

maxMemberCount

maxMemberCount: number

The maximum number of users in the room, Passing 0 means unlimited, the default is unlimited.

token

token: string

The token issued by the developer's business server is used to ensure security. The generation rules are detailed in Room Login Authentication Description [use token authentication] (https://doc-en.zego.im/article/3881) Default is empty string, that is, no authentication. Native version 2.17.0 or later If appSign is not passed when the [createEngine] interface is called to create an engine or appSign is empty, this parameter must be set for authentication when you log in to a room.

Generated using TypeDoc