onRemoteVideoStats property

void Function(RtcConnection connection, RemoteVideoStats stats)? onRemoteVideoStats
final

Callback for statistics of the remote video stream during a call.

This callback reports end-to-end statistics of the remote video stream during a call. It is triggered every 2 seconds for each remote user/host. If there are multiple remote users/hosts, this callback is triggered multiple times every 2 seconds.

  • connection Connection information. See RtcConnection.
  • stats Statistics of the remote video. See RemoteVideoStats.

Implementation

final void Function(RtcConnection connection, RemoteVideoStats stats)?
    onRemoteVideoStats;