onRemoteUserAudioFrame property
FutureOr<void> Function(String streamId, AudioFrame audioFrame)?
onRemoteUserAudioFrame
getter/setter pair
@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> Function(String streamId, AudioFrame audioFrame)?
onRemoteUserAudioFrame;