stopBroadcasting abstract method

Future<void> stopBroadcasting(
  1. String streamID
)

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.

  • streamID The ID of the stream that needs to stop broadcasting.

Implementation

Future<void> stopBroadcasting(String streamID);