liblinphone  3.6.1
Data Fields

#include <linphonecore.h>

Data Fields

int type
 
jitter_stats_t jitter_stats
 
mblk_t * received_rtcp
 
mblk_t * sent_rtcp
 
float round_trip_delay
 
LinphoneIceState ice_state
 
LinphoneUpnpState upnp_state
 
float download_bandwidth
 
float upload_bandwidth
 
float local_late_rate
 
float local_loss_rate
 

Detailed Description

The LinphoneCallStats objects carries various statistic informations regarding quality of audio or video streams.

To receive these informations periodically and as soon as they are computed, the application is invited to place a CallStatsUpdated callback in the LinphoneCoreVTable structure it passes for instanciating the LinphoneCore object (see linphone_core_new() ).

At any time, the application can access last computed statistics using linphone_call_get_audio_stats() or linphone_call_get_video_stats().

Field Documentation

int _LinphoneCallStats::type

Can be either LINPHONE_CALL_STATS_AUDIO or LINPHONE_CALL_STATS_VIDEO

jitter_stats_t _LinphoneCallStats::jitter_stats

jitter buffer statistics, see oRTP documentation for details

mblk_t* _LinphoneCallStats::received_rtcp

Last RTCP packet received, as a mblk_t structure. See oRTP documentation for details how to extract information from it

mblk_t* _LinphoneCallStats::sent_rtcp

Last RTCP packet sent, as a mblk_t structure. See oRTP documentation for details how to extract information from it

float _LinphoneCallStats::round_trip_delay

Round trip propagation time in seconds if known, -1 if unknown.

LinphoneIceState _LinphoneCallStats::ice_state

State of ICE processing.

LinphoneUpnpState _LinphoneCallStats::upnp_state

State of uPnP processing.

float _LinphoneCallStats::download_bandwidth

Download bandwidth measurement of received stream, expressed in kbit/s, including IP/UDP/RTP headers

float _LinphoneCallStats::upload_bandwidth

Download bandwidth measurement of sent stream, expressed in kbit/s, including IP/UDP/RTP headers

float _LinphoneCallStats::local_late_rate

percentage of packet received too late over last second

float _LinphoneCallStats::local_loss_rate

percentage of lost packet over last second


The documentation for this struct was generated from the following file: