Skip to navigation

ConferenceStats (class)

Android SDK v3 API reference
View as Markdown

stats

Statistics for a Conference.

Reported via ConferenceListener.onConferenceStatsReceived.

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.

endpointStats

var endpointStats: Map<Endpoint, EndpointStats>?

Statistics for conference endpoints.

localAudioStats

var localAudioStats: Map<LocalAudioStream, OutboundAudioStats>?

Statistics for the active outgoing audio streams.

localCandidateType

var localCandidateType: CandidateType?

Local ICE candidate type.

localVideoStats

var localVideoStats: Map<LocalVideoStream, OutboundVideoStats>?

Statistics for the active outgoing video streams.

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.

remoteCandidateType

var remoteCandidateType: CandidateType?

Remote ICE candidate type.

rtt

var rtt: Double

Latest round-trip time in seconds.

timestamp

var timestamp: Double

Statistics collection time, as a UNIX timestamp in microseconds.