> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# VICallStats

Class that represents statistics of a call.

@objc final class VICallStats

## Properties

### availableOutgoingBitrate

@objc let availableOutgoingBitrate: Double

Available 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.

### description

override var description: String \{ get }

Stats description.

### localAudioStats

@objc let localAudioStats: \[String : [VIOutboundAudioStats](/api-reference/iossdk/calls/vioutboundaudiostats)]

Statistics for all active outgoing audio streams in a call at the moment of the statistics collection.

### localCandidateType

@objc let localCandidateType: [VICandidateType](/api-reference/iossdk/calls/vicandidatetype)

Local ICE candidate type.

### localVideoStats

@objc let localVideoStats: \[String : [VIOutboundVideoStats](/api-reference/iossdk/calls/vioutboundvideostats)]

Statistics for all active outgoing video streams in a call at the moment of the statistics collection.

### networkType

@objc let networkType: [VINetworkType](/api-reference/iossdk/calls/vinetworktype)

The type of network interface used by the base of a local candidate (the address the ICE agent sends from).

This stat only tells you about the network interface used by the first “hop”; it is possible that a connection is bottlenecked by another type of network.

For example, during Wi-Fi tethering, the networkType of the relevant candidate would be “wifi”, even when the next hop is over a cellular connection.

### remoteAudioStats

@objc let remoteAudioStats: [VIInboundAudioStats](/api-reference/iossdk/calls/viinboundaudiostats)?

Statistics for all incoming audio streams of a call at the moment of the statistics collection.

### remoteCandidateType

@objc let remoteCandidateType: [VICandidateType](/api-reference/iossdk/calls/vicandidatetype)

Remote ICE candidate type.

### remoteVideoStats

@objc let remoteVideoStats: [VIInboundVideoStats](/api-reference/iossdk/calls/viinboundvideostats)?

Statistics for incoming video streams of a call at the moment of the statistics collection.

### rtt

@objc let rtt: TimeInterval

Represents the latest round trip time measured in seconds.

### timestamp

@objc let timestamp: TimeInterval

Time at which the call statistics are collected, relative to the UNIX epoch (Jan 1, 1970, UTC), in microseconds.

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable