Index of the real-time sequential data manager.
Unregister the event handler of real-time sequential data
Event type.
Call back.
Register the event handler of real-time sequential data
Event type.
Call back.
Send real-time sequential data to the broadcasting stream ID.
Available since: 2.14.0 Description: This function can be used to send real-time sequential data on the stream currently being broadcast. Use cases: You need to call this function when you need to send real-time sequential data. When to call: After calling [startBroadcasting]. Restrictions: None. Caution: None.
The real-time sequential data to be sent.
The stream ID to which the real-time sequential data is sent.
Send real-time sequential data result notification.
Start broadcasting real-time sequential data stream.
Available since: 2.14.0 Description: This function allows users to broadcast their local real-time sequential data stream to the ZEGO RTC server, and other users in the same room can subscribe to the real-time sequential data stream for intercommunication through "streamID". Use cases: Before sending real-time sequential data, you need to call this function to start broadcasting. When to call: After creating the [ZegoRealTimeSequentialDataManager] instance. Restrictions: None. Caution: After calling this function, you will receive the [onPublisherStateUpdate] callback to tell you the broadcast state (publish state) of this stream. After the broadcast is successful, other users in the same room will receive the [onRoomStreamUpdate] callback to tell them this stream has been added to the room.
Stream ID, a string of up to 256 characters. Caution:
Start subscribing real-time sequential data stream.
Available since: 2.14.0 Description: This function allows users to subscribe to the real-time sequential data stream of remote users from the ZEGO RTC server. Use cases: When you need to receive real-time sequential data sent from other remote users, you need to call this function to start subscribing to the stream broadcasted by other remote users. When to call: After creating the [ZegoRealTimeSequentialDataManager] instance. Restrictions: None. Caution: After calling this function, you will receive the [onPlayerStateUpdate] callback to tell you the subscribe state (play state) of this stream.
Stream ID, a string of up to 256 characters. Caution: Only support numbers, English characters and '-', '_'.
Stop broadcasting real-time sequential data stream.
Available since: 2.14.0 Description: This function allows users to stop broadcasting their local real-time sequential data stream. Use cases: When you no longer need to send real-time sequential data, you need to call this function to stop broadcasting. When to call: After creating the [ZegoRealTimeSequentialDataManager] instance. Restrictions: None. Caution: After calling this function, you will receive the [onPublisherStateUpdate] callback to tell you the broadcast state (publish state) of this stream. After stopping the broadcast, other users in the same room will receive the [onRoomStreamUpdate] callback to tell them this stream has been deleted from the room.
The ID of the stream that needs to stop broadcasting.
Stop subscribing real-time sequential data stream.
Available since: 2.14.0 Description: This function can be used to stop subscribing to the real-time sequential data stream. Use cases: When you no longer need to receive real-time sequential data sent by other users, you need to call this function to stop subscribing to the other user's stream. When to call: After creating the [ZegoRealTimeSequentialDataManager] instance. Restrictions: None. Caution: After calling this function, you will receive the [onPlayerStateUpdate] callback to tell you the subscribe state (play state) of this stream.
The ID of the stream that needs to stop subscribing.
Generated using TypeDoc
Get real-time sequential data manager index.