onLocalVideoStats property

void Function(VideoSourceType source, LocalVideoStats stats)? onLocalVideoStats
final

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

  • connection The connection information. See RtcConnection .
  • stats The statistics of the local video stream. See LocalVideoStats .

Implementation

final void Function(VideoSourceType source, LocalVideoStats stats)?
    onLocalVideoStats;