Liblinphone  3.11.1
Data Fields

#include <call_stats.h>

Data Fields

LinphoneStreamType 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
 
int updated
 
float rtcp_download_bandwidth
 
float rtcp_upload_bandwidth
 
rtp_stats_t rtp_stats
 
int rtp_remote_family
 
int clockrate
 
bool_t rtcp_received_via_mux
 

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 LinphoneCoreCallStatsUpdatedCb callback in the LinphoneCoreVTable structure it passes for instantiating 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

§ download_bandwidth

float _LinphoneCallStats::download_bandwidth

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

§ ice_state

LinphoneIceState _LinphoneCallStats::ice_state

State of ICE processing.

§ jitter_stats

jitter_stats_t _LinphoneCallStats::jitter_stats

jitter buffer statistics, see oRTP documentation for details

§ local_late_rate

float _LinphoneCallStats::local_late_rate

percentage of packet received too late over last second

§ local_loss_rate

float _LinphoneCallStats::local_loss_rate

percentage of lost packet over last second

§ received_rtcp

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

§ round_trip_delay

float _LinphoneCallStats::round_trip_delay

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

§ rtcp_download_bandwidth

float _LinphoneCallStats::rtcp_download_bandwidth

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

§ rtcp_upload_bandwidth

float _LinphoneCallStats::rtcp_upload_bandwidth

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

§ rtp_remote_family

int _LinphoneCallStats::rtp_remote_family

Ip adress family of the remote destination

§ rtp_stats

rtp_stats_t _LinphoneCallStats::rtp_stats

RTP stats

§ sent_rtcp

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

§ type

LinphoneStreamType _LinphoneCallStats::type

Type of the stream which the stats refer to

§ updated

int _LinphoneCallStats::updated

Tell which RTCP packet has been updated (received_rtcp or sent_rtcp). Can be either LINPHONE_CALL_STATS_RECEIVED_RTCP_UPDATE or LINPHONE_CALL_STATS_SENT_RTCP_UPDATE

§ upload_bandwidth

float _LinphoneCallStats::upload_bandwidth

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

§ upnp_state

LinphoneUpnpState _LinphoneCallStats::upnp_state

State of uPnP processing.


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