CallStats

public class CallStats : LinphoneObject

The CallStats 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 instanciating the Core 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().

  • Get the bandwidth measurement of the received stream, expressed in kbit/s, including IP/UDP/RTP headers.

    Declaration

    Swift

    public var downloadBandwidth: Float { get }

    Return Value

    The bandwidth measurement of the received stream in kbit/s.

  • Get the estimated bandwidth measurement of the received stream, expressed in kbit/s, including IP/UDP/RTP headers.

    Declaration

    Swift

    public var estimatedDownloadBandwidth: Float { get }

    Return Value

    The estimated bandwidth measurement of the received stream in kbit/s.

  • Get the state of ICE processing.

    Declaration

    Swift

    public var iceState: IceState { get }

    Return Value

    The state of ICE processing.

  • Get the IP address family of the remote peer.

    Declaration

    Swift

    public var ipFamilyOfRemote: AddressFamily { get }

    Return Value

    The IP address family of the remote peer.

  • Get the jitter buffer size in ms.

    Declaration

    Swift

    public var jitterBufferSizeMs: Float { get }

    Return Value

    The jitter buffer size in ms.

  • Gets the cumulative number of late packets.

    Declaration

    Swift

    public var latePacketsCumulativeNumber: UInt64 { get }

    Return Value

    The cumulative number of late packets

  • Gets the local late rate since last report.

    Declaration

    Swift

    public var localLateRate: Float { get }

    Return Value

    The local late rate

  • Get the local loss rate since last report.

    Declaration

    Swift

    public var localLossRate: Float { get }

    Return Value

    The local loss rate

  • Gets the remote reported interarrival jitter.

    Declaration

    Swift

    public var receiverInterarrivalJitter: Float { get }

    Return Value

    The interarrival jitter at last received receiver report

  • Gets the remote reported loss rate since last report.

    Declaration

    Swift

    public var receiverLossRate: Float { get }

    Return Value

    The receiver loss rate

  • Get the round trip delay in s.

    Declaration

    Swift

    public var roundTripDelay: Float { get }

    Return Value

    The round trip delay in s.

  • Get the bandwidth measurement of the received RTCP, expressed in kbit/s, including IP/UDP/RTP headers.

    Declaration

    Swift

    public var rtcpDownloadBandwidth: Float { get }

    Return Value

    The bandwidth measurement of the received RTCP in kbit/s.

  • Get the bandwidth measurement of the sent RTCP, expressed in kbit/s, including IP/UDP/RTP headers.

    Declaration

    Swift

    public var rtcpUploadBandwidth: Float { get }

    Return Value

    The bandwidth measurement of the sent RTCP in kbit/s.

  • Gets the local interarrival jitter.

    Declaration

    Swift

    public var senderInterarrivalJitter: Float { get }

    Return Value

    The interarrival jitter at last emitted sender report

  • Get the local loss rate since last report.

    Declaration

    Swift

    public var senderLossRate: Float { get }

    Return Value

    The sender loss rate

  • Get the type of the stream the stats refer to.

    Declaration

    Swift

    public var type: StreamType { get }

    Return Value

    The type of the stream the stats refer to

  • Get the bandwidth measurement of the sent stream, expressed in kbit/s, including IP/UDP/RTP headers.

    Declaration

    Swift

    public var uploadBandwidth: Float { get }

    Return Value

    The bandwidth measurement of the sent stream in kbit/s.

  • Get the state of uPnP processing.

    Declaration

    Swift

    public var upnpState: UpnpState { get }

    Return Value

    The state of uPnP processing.