Skip to navigation

InboundAudioStats (class)

Android SDK v3 API reference
View as Markdown

stats

Statistics for an incoming AudioStream.

Methods

toString

fun toString(): String

Returns a string representation of this object.

Returns: String

Properties

audioLevel

var audioLevel: Double

Linear audio level in the range of 0..1.

1.0 represents 0 dBov, 0 represents silence, and 0.5 represents approximately 6 dBSPL change in the sound pressure level from 0 dBov.

bytesReceived

var bytesReceived: Long

Total bytes received in the audio stream.

codec

var codec: String?

Audio stream codec name, e.g. “opus”.

packetsLost

var packetsLost: Int

Total packets lost in the audio stream.

packetsReceived

var packetsReceived: Long

Total packets received in the audio stream.

streamId

val streamId: String

Stream ID.

Read-only.