AI-generated Key Takeaways
-
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
, andspatialAudio
to describe the track's attributes, which can be undefined if not explicitly specified.
cast.framework.messages. AudioTrackInfo
Describes audio track information for an audio track.
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.