onRtcStats property
Reports the statistics of the current call. The SDK triggers this callback once every two seconds after the user joins the channel.
connection
The connection information. See RtcConnection .stats
Statistics of the RTC engine. See RtcStats .
Implementation
final void Function(RtcConnection connection, RtcStats stats)? onRtcStats;