CallStats (class)
Statistics for a Call.
Reported via CallListener.onCallStatsReceived with the interval specified in CallSettings.statsCollectionInterval.
Methods
Properties
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?
Statistics for the outgoing audio stream.
localCandidateType
var localCandidateType: CandidateType?
Local ICE candidate type.
localVideoStats
var localVideoStats: 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?
Statistics for the incoming audio stream.
remoteCandidateType
var remoteCandidateType: CandidateType?
Remote ICE candidate type.
remoteVideoStats
var remoteVideoStats: 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.