AI-generated Key Takeaways
-
TracksInfo
provides information about available media tracks, including active tracks, language, text track style, and overall track details. -
You can specify active tracks using either
activeTrackIds
or prioritize language selection using thelanguage
property. -
TracksInfo
includes details about text track style throughtextTrackStyle
and a comprehensive list of tracks via thetracks
property.
cast.framework.messages. TracksInfo
Tracks information.
Constructor
TracksInfo
new TracksInfo()
Properties
activeTrackIds
(non-null Array of number or undefined)
The track IDs that should be active.
language
(string or undefined)
Language for the tracks that should be active. The language field will
take precedence over activeTrackIds
if both are specified.
textTrackStyle
(non-null cast.framework.messages.TextTrackStyle or undefined)
The text track style.
tracks
(non-null Array of non-null cast.framework.messages.Track or undefined)
The tracks information.