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

# CallStats (class)

[stats](/api-reference/androidsdk3/android/sdk/calls/stats/overview)

Statistics for a [Call](/api-reference/androidsdk3/android/sdk/calls/call).

Reported via [CallListener.onCallStatsReceived](/api-reference/androidsdk3/android/sdk/calls/calllistener#oncallstatsreceived) with the interval specified in [CallSettings.statsCollectionInterval](/api-reference/androidsdk3/android/sdk/calls/callsettings#statscollectioninterval).

**Methods**

* [toString](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#tostring)

**Properties**

* [availableOutgoingBitrate](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#availableoutgoingbitrate)
* [localAudioStats](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#localaudiostats)
* [localCandidateType](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#localcandidatetype)
* [localVideoStats](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#localvideostats)
* [networkType](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#networktype)
* [remoteAudioStats](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#remoteaudiostats)
* [remoteCandidateType](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#remotecandidatetype)
* [remoteVideoStats](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#remotevideostats)
* [rtt](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#rtt)
* [timestamp](/api-reference/androidsdk3/android/sdk/calls/stats/callstats#timestamp)

## Methods

### toString

`fun toString(): String`

Returns a string representation of the object.

**Returns:** String

## Properties

### availableOutgoingBitrate

`var availableOutgoingBitrate: Double`

Available outgoing bitrate in bits per second.

Calculated by congestion control from the available bitrate of all outgoing RTP streams  on the selected ICE candidate pair, over a 1 second window.

### localAudioStats

`var localAudioStats: `[`OutboundAudioStats`](/api-reference/androidsdk3/android/sdk/calls/stats/outboundaudiostats)`?`

Statistics for the outgoing audio stream.

### localCandidateType

`var localCandidateType: `[`CandidateType`](/api-reference/androidsdk3/android/sdk/calls/stats/candidatetype)`?`

Local ICE candidate type.

### localVideoStats

`var localVideoStats: `[`OutboundVideoStats`](/api-reference/androidsdk3/android/sdk/calls/stats/outboundvideostats)`?`

Statistics for the outgoing video stream.

### networkType

`var networkType: String?`

Network interface type of the local ICE candidate (the address the ICE agent sends from).

This statistic reports the network interface of the first hop. A connection can still be bottlenecked by another network type. 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.

### remoteAudioStats

`var remoteAudioStats: `[`InboundAudioStats`](/api-reference/androidsdk3/android/sdk/calls/stats/inboundaudiostats)`?`

Statistics for the incoming audio stream.

### remoteCandidateType

`var remoteCandidateType: `[`CandidateType`](/api-reference/androidsdk3/android/sdk/calls/stats/candidatetype)`?`

Remote ICE candidate type.

### remoteVideoStats

`var remoteVideoStats: `[`InboundVideoStats`](/api-reference/androidsdk3/android/sdk/calls/stats/inboundvideostats)`?`

Statistics for the incoming video stream.

### rtt

`var rtt: Double`

Latest round-trip time in seconds.

### timestamp

`var timestamp: Double`

Statistics collection time, as a UNIX timestamp in microseconds.