AudioTrackInfo

class AudioTrackInfo(val codec: TrackCodec, val sampleRate: Int, val channelCount: Int, val bitrate: Bitrate?)(source)

The audio track of a source.

Constructors

Link copied to clipboard
constructor(codec: TrackCodec, sampleRate: Int, channelCount: Int, bitrate: Bitrate?)

Properties

Link copied to clipboard

The track's bitrate, or null when the container does not report one.

Link copied to clipboard

How many channels the track carries.

Link copied to clipboard

What the track is encoded with.

Link copied to clipboard

Samples per second, in hertz.