Jump to: navigation, search

Call Statistics

As of release 8.1.100.04 of SIP Endpoint SDK for .NET, two methods have been added to the ICallControl interface, so that you can have real-time access to RTP audio and video statistics during a call. These statistics are based on the RTCP packets that have been sent during a call session. The two methods are:

Dictionary<String^,Object^>^ GetAudioStatistics(String^ sessionId);
Dictionary<String^,Object^>^ GetVideoStatistics(String^ sessionId);

The NET QuickStart Application shows how to monitor statistics while a call is in progress and how to gather the most recent statistics before a call is disconnected.

RTCP is enabled by default.

Available Statistics

SIP Endpoint SDK provides video and audio statistics at the end of each call when the session achieves a status of SessionStatus.Disconnected. These statistics have the same names, meanings, and structure for both video and audio.

Local Statistics
Got Local Stat This value is positive if the next 5 fields are valid (which means that local statistics are available)
Local Frac Lost The fraction of packets that were lost during this call (that is, packets that were not received by the local endpoint)
Local Jitter Interarrival jitter
Local Oct Count Local octet count (number of bytes sent)
Local Pkt Count Local packet count (number of RTP packets sent from the local endpoint)
Local Total Lost Total lost packets (calculated per RFC 3550)
Remote Receiver Report
Got Remote RR This value is true if the next 3 fields are valid (which means that the local endpoint received a Receiver Report from the remote endpoint)
Remote Frac Lost The fraction of packets that were lost during this call (that is, packets that were not received by the remote endpoint)
Remote Jitter Interarrival jitter
Remote Total Lost Total lost packets (calculated per RFC 3550)
Remote Sender Report
Got Remote SR This value is true if the next 2 fields are valid (which means that the local endpoint received a Sender Report from the remote endpoint)
Remote Oct Count Remote octet count
Remote Pkt Count Remote packet count (number of packets sent by the remote endpoint)
Round Trip
Round Trip Time Round-trip time in milliseconds
This page was last edited on March 4, 2017, at 06:38.
Comments or questions about this documentation? Contact us for support!