onRemoteAudioStats property

(void Function(RtcConnection connection, RemoteAudioStats stats)?) onRemoteAudioStats
final

Reports the statistics of the audio stream sent by each remote users. The SDK triggers this callback once every two seconds. If a channel includes multiple users, the SDK triggers this callback as many times.

  • connection The connection information. See RtcConnection .
  • stats Statistics of the received remote audio stream. See RemoteAudioStats .

Implementation

final void Function(RtcConnection connection, RemoteAudioStats stats)?
    onRemoteAudioStats;