Variant

data class Variant(val url: URI, val format: HlsPlaylistParser.Format, val videoGroupId: String?, val audioGroupId: String?, val subtitleGroupId: String?, val captionGroupId: String?)(source)

Constructors

Link copied to clipboard
constructor(url: URI, format: HlsPlaylistParser.Format, videoGroupId: String?, audioGroupId: String?, subtitleGroupId: String?, captionGroupId: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: URI
Link copied to clipboard

Functions

Link copied to clipboard

This is unfortunately impossible to do 100%, given that audio detection is hard without TS inspection, however this is a generous safety abstraction

Link copied to clipboard

https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.3.6

Link copied to clipboard

https://datatracker.ietf.org/doc/html/rfc6381: