getStatistics method
Requests RTP media statistics for sessionId. The result is delivered
asynchronously through the events stream as an onStatistics event whose
stat field is a JSON string of the channel statistics (bytes, packets,
jitter, loss). Call periodically (e.g. once per second) to track data
usage of an ongoing call.
Returns 0 on success, negative error code on failure.
Implementation
Future<int> getStatistics({required int sessionId}) async {
throw UnimplementedError('getStatistics has not been implemented.');
}