This article will help you to receive basic and advanced statistics from the SDKs.
Voximplant SDKs provide dedicated events on call quality. You can subscribe to them in order to handle the following errors:
We recommend the following approaches for gathering connection stats and/or developing custom tools for tracking issues.
The stats are received constantly during an active call. There are two stats interfaces: CallStats (the general stats of a call) and EndpointStats (the stats of each participant of a call/conference).
In Web SDK, during a simple call with two participants, CallStats equal EndpointStats.
By default, the stats arrive every 5 seconds for iOS and Android. You can adjust this value by changin the statsCollectionInterval property:
Stats is accumulated in RAM during the interval specified in StatsCollectionInterval. Thus, the bigger the interval is, the higher RAM utilization is.
Another point worth mentioning is the timestamp value in the received stats. Bear in mind that it should differ from the previous received value; if not, you are probably experiencing some troubles with gathering stats.