onRemoteAudioTransportStats property
void Function(RtcConnection connection, int remoteUid, int delay, int lost, int rxKBitRate)?
onRemoteAudioTransportStats
final
Reports the transport-layer statistics of each remote audio stream.
Deprecated: Use onRemoteAudioStats instead. This callback reports the transport-layer statistics, such as the packet loss rate and network time delay after the local user receives an audio packet from a remote user. During a call, when the user receives the audio packet sent by the remote user, the callback is triggered every 2 seconds.
connectionThe connection information. See RtcConnection.remoteUidThe ID of the remote user sending the audio streams.delayThe network delay (ms) from the remote user to the receiver.lostThe packet loss rate (%) of the audio packet sent from the remote user to the receiver.rxKBitrateThe bitrate of the received audio (Kbps).
Implementation
final void Function(RtcConnection connection, int remoteUid, int delay,
int lost, int rxKBitRate)? onRemoteAudioTransportStats;