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:Please use onRemoteAudioStats instead.This callback reports the transport-layer statistics, such as the packet loss rate and network time delay, once every two seconds after the local user receives an audio packet from a remote user. During a call, when the user receives the video packet sent by the remote user/host, the callback is triggered every 2 seconds.

  • connection The connection information. See RtcConnection .
  • remoteUid The ID of the remote user sending the audio packets.
  • delay The network delay (ms) from the sender to the receiver.
  • lost The packet loss rate (%) of the audio packet sent from the remote user.
  • rxKBitRate The bitrate of the received audio (Kbps).

Implementation

final void Function(RtcConnection connection, int remoteUid, int delay,
    int lost, int rxKBitRate)? onRemoteAudioTransportStats;