onProcessRemoteUserAudioFrame method

FutureOr<int> onProcessRemoteUserAudioFrame(
  1. String streamId,
  2. StreamInfo streamInfo,
  3. IAudioFrame audioFrame
)

@detail callback @author majun.lvhiei @brief Returns the address of the locally captured audio frame for custom processing. @param streamId Remote stream ID. @param streamInfo Remote stream information. See StreamInfo{@link #StreamInfo}. @param audioFrame The address of the audio frame. See IAudioFrame{@link #IAudioFrame} @note After calling enableAudioProcessor{@link #RTCEngine#enableAudioProcessor} with remote audio streams, you will receive this callback every 10 ms.

Implementation

FutureOr<int> onProcessRemoteUserAudioFrame(
    String streamId, StreamInfo streamInfo, IAudioFrame audioFrame) async {
  throw UnimplementedError();
}