audioQuality property Null safety
Reports the statistics of the audio stream from each remote user/host.
Deprecated Use RtcEngineEventHandler.remoteAudioStats instead.
The SDK triggers this callback once every two seconds to report the audio quality of each remote user/host sending an audio stream. If a channel has multiple remote users/hosts sending audio streams, the SDK trggers this callback as many times.
AudioQualityCallback typedef includes the following parameters:
uid: User ID of the speaker.
quality: Audio quality of the user.
delay: Time delay (ms) of the audio packet from the sender to the receiver, including the time delay from audio sampling pre-processing, transmission, and the jitter buffer.
lost: Packet loss rate (%) of the audio packet sent from the sender to the receiver.
@deprecated AudioQualityCallback? audioQuality;