Class: AudioTrackInfo

  • The cast.framework.messages.AudioTrackInfo class provides static data about a given audio track such as codec, channel count, and spatial audio capabilities.

  • It includes properties like audioCodec, numAudioChannels, and spatialAudio to describe the track's attributes, which can be undefined if not explicitly specified.

Constructor

AudioTrackInfo

new AudioTrackInfo()

Properties

audioCodec

(string or undefined)

This represents the codec of the audio track.

numAudioChannels

(number or undefined)

The number of audio track channels.

spatialAudio

(boolean or undefined)

True indicates this track content has spatial audio. Determined by signals from the manifest.