rtcEngine$onFirstRemoteAudioFrame$info method

FutureOr<void> rtcEngine$onFirstRemoteAudioFrame$info(
  1. ByteRTCEngine engine,
  2. NSString streamId,
  3. ByteRTCStreamInfo info
)

@detail callback @author wangjunzheng @brief The subscriber will receive this callback when the first frame of the receiving audio stream begins to decode. The following situations are included:
1. The publisher publishes audio, including the initial publication and restart after cancellation.
2. After the publisher stops audio capture, they restart it. When using an external source, this involves stopping the stream and then streaming again.
3. After the publisher publishes audio, the subscriber cancels the subscription to audio and then re-subscribes to it. @param engine ByteRTCEngine object @param streamId ID of Remote stream information. @param info Remote stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @note The callback will be received when the user has just received each audio stream in the room.

Implementation

FutureOr<void> rtcEngine$onFirstRemoteAudioFrame$info(
    ByteRTCEngine engine, NSString streamId, ByteRTCStreamInfo info) async {}