onStart$info method

FutureOr<void> onStart$info(
  1. NSString streamId,
  2. ByteRTCStreamInfo info
)

@detail callback @author wangzhanqiang @brief Prompt custom encoded frames to start pushing callbacks.
After receiving this callback, you can call pushExternalEncodedVideoFrame:withEncodedVideoFrame:{@link #ByteRTCEngine#pushExternalEncodedVideoFrame:withEncodedVideoFrame} Push custom encoded video frames to the SDK @param streamId Custom encoded stream ID @param info Custom encoded stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}

Implementation

FutureOr<void> onStart$info(
    NSString streamId, ByteRTCStreamInfo info) async {}