Class: AudioTrackInfo

  • AudioTrackInfo describes information about an audio track within the cast.framework.messages namespace.

  • It provides properties for the audio codec, the number of audio channels, and whether the track has spatial audio.

  • All properties of AudioTrackInfo are optional and can be undefined.

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.