onRemoteUserAudioFrame method
FutureOr<void>
onRemoteUserAudioFrame(
- String streamId,
- StreamInfo streamInfo,
- IAudioFrame audioFrame
@detail callback @author wangjunzheng @brief Returns the audio data of one remote user. @param streamId Remote stream ID. @param streamInfo Remote stream information. See StreamInfo{@link #StreamInfo}. @param audioFrame Audio data. See IAudioFrame{@link #IAudioFrame}. @note This callback works on the playback thread. Don't do anything time-consuming in this callback, or it may affect the entire audio playback chain.
Implementation
FutureOr<void> onRemoteUserAudioFrame(
String streamId, StreamInfo streamInfo, IAudioFrame audioFrame) async {}