Optional
idThe unique identifier for this role instance.
MediaTrackRole.id
.
May be undefined.undefined
, as HLS characteristics do not have inherent IDs in this context.The URI identifying the scheme used for the role definition.
MediaTrackRole.schemeIdUri
(e.g., "urn:mpeg:dash:role:2011").urn:hls:characteristic
representing HLS characteristics.Optional
valueThe value of the role within the specified scheme.
MediaTrackRole.value
(e.g., "main", "caption", "description").
The
MediaTrackRole
interface represents the role of a media track in a media stream.