VICallStats
Class that represents statistics for VICall. Reported via [VICallDelegate call:didReceiveStatistics:]
Props
audioBytesReceived
@property (assign, readonly, nonatomic) NSUInteger
audioBytesReceivedTotal number of audio bytes received for the call.
Returns
type:
NSUInteger
audioBytesSent
@property (assign, readonly, nonatomic) NSUInteger
audioBytesSentTotal number of audio bytes sent for the call.
Returns
type:
NSUInteger
audioLoss
@property (assign, readonly, nonatomic) double
audioLossTotal packet loss in the audio stream(s) related to the call session. Values are in the range 0..1, where 0 means no loss and 1 means full loss.
Returns
type:
double
audioPacketsLost
@property (assign, readonly, nonatomic) NSUInteger
audioPacketsLostTotal number of audio packets lost for the call.
Returns
type:
NSUInteger
audioPacketsReceived
@property (assign, readonly, nonatomic) NSUInteger
audioPacketsReceivedTotal number of audio packets received for the call.
Returns
type:
NSUInteger
audioPacketsSent
@property (assign, readonly, nonatomic) NSUInteger
audioPacketsSentTotal number of audio packets sent for the call.
Returns
type:
NSUInteger
availableOutgoingBitrate
@property (assign, readonly, nonatomic) double
availableOutgoingBitrateAvailable outgoing bitrate calculated by the underlying congestion control by combining the available bitrate for all the outgoing RTP streams with the current selected candidate pair.
It is measured in bits per second and the bitrate is calculated over a 1 second window.
Returns
type:
double
endpointStats
@property (strong, readonly, nonatomic) NSDictionary<NSString *, VIEndpointStats *> *
endpointStatsStatistics for endpoints existing in the call at the moment of the stats collection.
Returns
type:
NSDictionary<NSString *, VIEndpointStats *> *
localAudioStats
@property (strong, readonly, nonatomic) NSDictionary<NSString *, VIOutboundAudioStats *> *
localAudioStatsStatistics for all active outgoing audio streams of the call at the moment of the stats collection.
Returns
type:
NSDictionary<NSString *, VIOutboundAudioStats *> *
localCandidateType
@property (strong, readonly, nonatomic) NSString *
localCandidateTypeType of the local ICE candidate.
Possible values:
- host - A host candidate
- srflx - A server reflexive candidate
- prflx - A peer reflexive candidate
- relay - A relay candidate
Returns
type:
NSString *
localVideoStats
@property (strong, readonly, nonatomic) NSDictionary<NSString *, VIOutboundVideoStats *> *
localVideoStatsStatistics for all active outgoing video streams of the call at the moment of the stats collection.
Returns
type:
NSDictionary<NSString *, VIOutboundVideoStats *> *
networkType
@property (strong, readonly, nonatomic) NSString *
networkTypeType of network interface used by the base of a local candidate (the address the ICE agent sends from).
This stat only tells about the network interface used by the first "hop"; it is possible that a connection is bottlenecked by another type of network.
For example, when using Wi-Fi tethering, the networkType of the relevant candidate would be "wifi", even when the next hop is over a cellular connection.
Possible values:
- cellular - A cellular connection (e.g., EDGE, HSPA, LTE, etc.).
- ethernet - An Ethernet connection.
- wifi - A Wi-Fi connection.
- wimax - A WiMAX connection.
- vpn - The connection runs over a VPN. The underlying network type is not available.
- unknown - The user agent is unable or unwilling to identify the underlying connection technology.
Returns
type:
NSString *
remoteCandidateType
@property (strong, readonly, nonatomic) NSString *
remoteCandidateTypeType of the remote ICE candidate.
Possible values:
- host - A host candidate
- srflx - A server reflexive candidate
- prflx - A peer reflexive candidate
- relay - A relay candidate
Returns
type:
NSString *
rtt
@property (assign, readonly, nonatomic) NSTimeInterval
rttRepresents the latest round trip time measured in seconds.
Returns
type:
NSTimeInterval
timestamp
@property (assign, readonly, nonatomic) NSTimeInterval
timestampTime at which the call statistics are collected, relative to the UNIX epoch (Jan 1, 1970, UTC), in microseconds.
Returns
type:
NSTimeInterval
totalBytesReceived
@property (assign, readonly, nonatomic) NSUInteger
totalBytesReceivedTotal number of bytes (audio and video) received in the call.
Returns
type:
NSUInteger
totalBytesSent
@property (assign, readonly, nonatomic) NSUInteger
totalBytesSentTotal number of bytes (audio and video) sent in the call.
Returns
type:
NSUInteger
totalLoss
@property (assign, readonly, nonatomic) double
totalLossTotal incoming packet loss for the call.
Returns
type:
double
totalPacketsLost
@property (assign, readonly, nonatomic) NSUInteger
totalPacketsLostTotal number of incoming packets lost (audio and video) in the call.
Returns
type:
NSUInteger
totalPacketsReceived
@property (assign, readonly, nonatomic) NSUInteger
totalPacketsReceivedTotal number of packets (audio and video) received in the call.
Returns
type:
NSUInteger
totalPacketsSent
@property (assign, readonly, nonatomic) NSUInteger
totalPacketsSentTotal number of packets (audio and video) sent in the call.
Returns
type:
NSUInteger
videoBytesReceived
@property (assign, readonly, nonatomic) NSUInteger
videoBytesReceivedTotal number of video bytes received for the call.
Returns
type:
NSUInteger
videoBytesSent
@property (assign, readonly, nonatomic) NSUInteger
videoBytesSentTotal number of video bytes sent for the call.
Returns
type:
NSUInteger
videoLoss
@property (assign, readonly, nonatomic) double
videoLossTotal packet loss in the video stream(s) related to the call session. Values are in the range 0..1, where 0 means no loss and 1 means full loss.
Returns
type:
double
videoPacketsLost
@property (assign, readonly, nonatomic) NSUInteger
videoPacketsLostTotal number of video packets lost for the call.
Returns
type:
NSUInteger
videoPacketsReceived
@property (assign, readonly, nonatomic) NSUInteger
videoPacketsReceivedTotal number of video packets received for the call.
Returns
type:
NSUInteger
videoPacketsSent
@property (assign, readonly, nonatomic) NSUInteger
videoPacketsSentTotal number of video packets sent for the call.
Returns
type:
NSUInteger