onRemoteVideoTransportStats property
void Function(RtcConnection connection, int remoteUid, int delay, int lost, int rxKBitRate)?
onRemoteVideoTransportStats
final
Reports the transport-layer statistics of each remote video stream.
Deprecated: This callback is deprecated. Use onRemoteVideoStats instead. This callback reports the transport-layer statistics, such as the packet loss rate and network time delay after the local user receives a video packet from a remote user. During a call, when the user receives the video packet sent by the remote user/host, the callback is triggered every 2 seconds.
connection
The connection information. See RtcConnection.remoteUid
The ID of the remote user sending the video packets.delay
The network delay (ms) from the sender to the receiver.lost
The packet loss rate (%) of the video packet sent from the remote user.rxKBitRate
The bitrate of the received video (Kbps).
Implementation
final void Function(RtcConnection connection, int remoteUid, int delay,
int lost, int rxKBitRate)? onRemoteVideoTransportStats;