onLocalAudioStats property

void Function(RtcConnection connection, LocalAudioStats stats)? onLocalAudioStats
final

Reports the statistics of the local audio stream. The SDK triggers this callback once every two seconds.

  • connection The connection information. See RtcConnection .
  • stats Local audio statistics. See LocalAudioStats .

Implementation

final void Function(RtcConnection connection, LocalAudioStats stats)?
    onLocalAudioStats;