CallStats
public class CallStats : LinphoneObject
This object carry various statistic informations regarding the quality of an
audio or video stream for a given Call
.
To receive these informations periodically and as soon as they are computed,
implement the call_stats_updated() callback inside a LinphoneCoreCbs.
At any time, the application can access latest computed statistics using
Call.getAudioStats() and Call.getVideoStats().
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> CallStats
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
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 IP address family of the remote peer.
Declaration
Swift
public var ipFamilyOfRemote: AddressFamily { get }
Return Value
The IP address family
AddressFamily
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
StreamType
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.
-
Gets the user data in the
CallStats
object.Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }
Return Value
the user data.