DashAdaptationSet

data class DashAdaptationSet(val contentType: String?, val mimeType: String?, val segmentTemplate: DashSegmentTemplate?, val representations: List<DashRepresentation>, val lang: String? = null, val id: String? = null, val label: String? = null, val roles: List<String> = emptyList(), val contentProtectionSchemes: List<String> = emptyList())

One AdaptationSet: the interchangeable representations of one kind of content.

Constructors

Link copied to clipboard
constructor(contentType: String?, mimeType: String?, segmentTemplate: DashSegmentTemplate?, representations: List<DashRepresentation>, lang: String? = null, id: String? = null, label: String? = null, roles: List<String> = emptyList(), contentProtectionSchemes: List<String> = emptyList())

Properties

Link copied to clipboard

The schemeIdUri of every ContentProtection element of the set and of its representations: empty for content that is not encrypted.

Link copied to clipboard
Link copied to clipboard
val id: String?

id, which names the same content across Periods (ISO/IEC 23009-1, 5.3.3.1), or null.

Link copied to clipboard

The text of the set's first Label element, a name to show for it, or null.

Link copied to clipboard
val lang: String?

lang, the RFC 5646 language of the set, or null.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The values of the set's Role elements in the DASH role scheme (urn:mpeg:dash:role:2011), such as main, alternate, commentary, subtitle, caption or forced-subtitle.

Link copied to clipboard