onRemoteVideoTransportStats property
void Function(RtcConnection connection, int remoteUid, int width, int height, int elapsed)?
onRemoteVideoTransportStats
final
Callback for transport statistics of the remote video stream during a call.
Deprecated Deprecated: This callback is deprecated. Use onRemoteVideoStats instead. This callback reports end-to-end network statistics of the remote user during a call, calculated based on video packets. It objectively shows the current network status through data such as packet loss and network delay. During a call, this callback is triggered every 2 seconds after the user receives video packets sent by the remote user/host.
connectionConnection information. See RtcConnection.remoteUidUser ID specifying which user/host the video packet belongs to.delayDelay (ms) from the sender to the receiver for the video packet.lostPacket loss rate (%) from the sender to the receiver for the video packet.rxKBitRateReceived bitrate (Kbps) of the remote video packet.
Implementation
final void Function(RtcConnection connection, int remoteUid, int delay,
int lost, int rxKBitRate)? onRemoteVideoTransportStats;