startSubscribing abstract method

Future<void> startSubscribing(
  1. String streamID
)

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.

  • streamID Stream ID, a string of up to 256 characters. Caution: Only support numbers, English characters and '-', '_'.

Implementation

Future<void> startSubscribing(String streamID);