remoteAudioTransportStats property Null safety

TransportStatsCallback? remoteAudioTransportStats
read / write

Reports the transport-layer statistics of each remote audio stream.

Deprecated This callback is deprecated. Use RtcEngineEventHandler.remoteAudioStats instead.

This callback reports the transport-layer statistics, such as the packet loss rate and time delay, once every two seconds after the local user receives an audio packet from a remote user.

The TransportStatsCallback typedef includes the following parameters:

  • int uid: User ID of the remote user sending the audio packet.
  • int delay: Network time delay (ms) from the remote user sending the audio packet to the local user.
  • int lost: Packet loss rate (%) of the audio packet sent from the remote user.
  • int rxKBitRate: Received bitrate (Kbps) of the audio packet sent from the remote user.

Implementation

@deprecated
TransportStatsCallback? remoteAudioTransportStats;