Class CallStats
This object carry various statistic informations regarding the quality of an audio or video stream for a given Linphone.Call.
To receive these informations periodically and as soon as they are computed, implement the call_stats_updated() callback inside a Linphone.CoreListener. At any time, the application can access latest computed statistics using Linphone.Call.AudioStats and Linphone.Call.VideoStats.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class CallStats : LinphoneObject
Properties
DownloadBandwidth
Get the bandwidth measurement of the received stream, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float DownloadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the received stream in kbit/s. |
EstimatedDownloadBandwidth
Get the estimated bandwidth measurement of the received stream, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float EstimatedDownloadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The estimated bandwidth measurement of the received stream in kbit/s. |
FecCumulativeLostPacketsNumber
If the FEC is enabled, gets the cumulative number of lost source packets of the RTP session that have not been repaired by the current FEC stream.
Declaration
public uint FecCumulativeLostPacketsNumber { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The cumulative number of lost packets |
FecDownloadBandwidth
Get the bandwidth measurement of the part of the received stream dedicated to FEC, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float FecDownloadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the received FEC stream in kbit/s. |
FecRepairedPacketsNumber
If the FEC is enabled, gets the cumulative number of source packets of the RTP session that have been repaired by the current FEC stream.
Declaration
public uint FecRepairedPacketsNumber { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The cumulative number of repaired packets |
FecUploadBandwidth
Get the bandwidth measurement of the part of the sent stream dedicated to FEC, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float FecUploadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the sent stream in kbit/s. |
IceState
Get the state of ICE processing.
Declaration
public IceState IceState { get; }
Property Value
Type | Description |
---|---|
IceState | The Linphone.IceState of ICE processing |
IpFamilyOfRemote
Get the IP address family of the remote peer.
Declaration
public AddressFamily IpFamilyOfRemote { get; }
Property Value
Type | Description |
---|---|
AddressFamily | The IP address family Linphone.AddressFamily of the remote peer. |
IsZrtpKeyAgreementAlgoPostQuantum
Did ZRTP used a Post Quantum algorithm to perform a key exchange.
Declaration
public bool IsZrtpKeyAgreementAlgoPostQuantum { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the ZRTP key exchange was performed using a PQ algo false otherwise: ZRTP exchange not completed or not using a PQ algo |
JitterBufferSizeMs
Get the jitter buffer size in ms.
Declaration
public float JitterBufferSizeMs { get; }
Property Value
Type | Description |
---|---|
System.Single | The jitter buffer size in ms. |
LatePacketsCumulativeNumber
Gets the cumulative number of late packets.
Declaration
public uint LatePacketsCumulativeNumber { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The cumulative number of late packets |
LocalLateRate
Gets the local late rate since last report, expressed as a percentage.
Declaration
public float LocalLateRate { get; }
Property Value
Type | Description |
---|---|
System.Single | The local late rate |
LocalLossRate
Get the local loss rate since last report, expressed as a percentage.
Declaration
public float LocalLossRate { get; }
Property Value
Type | Description |
---|---|
System.Single | The local loss rate |
ReceiverInterarrivalJitter
Gets the remote reported interarrival jitter, expressed in seconds.
Declaration
public float ReceiverInterarrivalJitter { get; }
Property Value
Type | Description |
---|---|
System.Single | The interarrival jitter at last received receiver report |
ReceiverLossRate
Gets the remote reported loss rate since last report, expressed as a percentage.
Declaration
public float ReceiverLossRate { get; }
Property Value
Type | Description |
---|---|
System.Single | The receiver loss rate |
RoundTripDelay
Get the round trip delay in s.
Declaration
public float RoundTripDelay { get; }
Property Value
Type | Description |
---|---|
System.Single | The round trip delay in s. |
RtcpDownloadBandwidth
Get the bandwidth measurement of the received RTCP, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float RtcpDownloadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the received RTCP in kbit/s. |
RtcpUploadBandwidth
Get the bandwidth measurement of the sent RTCP, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float RtcpUploadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the sent RTCP in kbit/s. |
RtpCumPacketLoss
Get the RTP cumulative number of incoming packet lost.
Declaration
public int RtpCumPacketLoss { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of RTP cumulative number of incoming packet lost |
RtpDiscarded
Get the RTP incoming packets discarded because the queue exceeds its max size.
Declaration
public uint RtpDiscarded { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The RTP incoming packets discarded because the queue exceeds its max size |
RtpHwRecv
Get the number of received bytes excluding IPv4/IPv6/UDP headers and including late and duplicate packets.
Declaration
public uint RtpHwRecv { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | the number of received bytes excluding IPv4/IPv6/UDP headers and including late and duplicate packets |
RtpPacketRecv
Get the number of RTP received packets.
Declaration
public uint RtpPacketRecv { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of RTP received packets |
RtpPacketSent
Get the number of RTP outgoing packets.
Declaration
public uint RtpPacketSent { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of RTP outgoing packets |
RtpRecv
Get the RTP incoming recv_bytes of payload and delivered in time to the application.
Declaration
public uint RtpRecv { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of recv_bytes of payload and delivered in time to the application |
RtpSent
Get the RTP outgoing sent_bytes (excluding IP header)
Declaration
public uint RtpSent { get; }
Property Value
Type | Description |
---|---|
System.UInt32 | The number of outgoing sent_bytes (excluding IP header) |
SenderInterarrivalJitter
Gets the local interarrival jitter, expressed in seconds.
Declaration
public float SenderInterarrivalJitter { get; }
Property Value
Type | Description |
---|---|
System.Single | The interarrival jitter at last emitted sender report |
SenderLossRate
Get the local loss rate since last report, expressed as a percentage.
Declaration
public float SenderLossRate { get; }
Property Value
Type | Description |
---|---|
System.Single | The sender loss rate |
SrtpSource
Get the method used for SRTP key exchange.
Declaration
public MediaEncryption SrtpSource { get; }
Property Value
Type | Description |
---|---|
MediaEncryption | The Linphone.MediaEncryption method used to exchange the SRTP keys |
SrtpSuite
Get the SRTP Cryto suite in use.
Declaration
public SrtpSuite SrtpSuite { get; }
Property Value
Type | Description |
---|---|
SrtpSuite | The SRTP crypto suite currently in use Linphone.SrtpSuite |
Type
Get the type of the stream the stats refer to.
Declaration
public StreamType Type { get; }
Property Value
Type | Description |
---|---|
StreamType | The Linphone.StreamType the stats refer to |
UploadBandwidth
Get the bandwidth measurement of the sent stream, expressed in kbit/s, including IP/UDP/RTP headers.
Declaration
public float UploadBandwidth { get; }
Property Value
Type | Description |
---|---|
System.Single | The bandwidth measurement of the sent stream in kbit/s. |
UpnpState
Get the state of uPnP processing.
Declaration
public UpnpState UpnpState { get; }
Property Value
Type | Description |
---|---|
UpnpState | The Linphone.UpnpState of uPnP processing. |
ZrtpAuthTagAlgo
Get the ZRTP algorithm statistics details (authentication method)
Declaration
public string ZrtpAuthTagAlgo { get; }
Property Value
Type | Description |
---|---|
System.String | The auth tag algo |
ZrtpCipherAlgo
Get the ZRTP algorithm statistics details (cipher)
Declaration
public string ZrtpCipherAlgo { get; }
Property Value
Type | Description |
---|---|
System.String | The cipher algo |
ZrtpHashAlgo
Get the ZRTP algorithm statistics details (hash function)
Declaration
public string ZrtpHashAlgo { get; }
Property Value
Type | Description |
---|---|
System.String | The hash algo |
ZrtpKeyAgreementAlgo
Get the ZRTP algorithm statistics details (key agreeement)
Declaration
public string ZrtpKeyAgreementAlgo { get; }
Property Value
Type | Description |
---|---|
System.String | The key agreement algo |
ZrtpSasAlgo
Get the ZRTP algorithm statistics details (SAS display)
Declaration
public string ZrtpSasAlgo { get; }
Property Value
Type | Description |
---|---|
System.String | The sas algo |