stopSubscribing abstract method

Future<void> stopSubscribing(
  1. String streamID
)

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.

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

Implementation

Future<void> stopSubscribing(String streamID);