View Source HLS.Playlist.Master (HTTP Live Streaming (HLS) library v2.0.0)
Summary
Functions
Returns the alternative renditions for this stream.
Returns all variant streams of the playlist.
Types
@type t() :: %HLS.Playlist.Master{ alternative_renditions: [HLS.AlternativeRendition.t()], independent_segments: boolean(), streams: HLS.VariantStream.t(), uri: URI.t() | nil, version: pos_integer() }
Functions
@spec add_alternative_rendition(t(), HLS.AlternativeRendition.t()) :: t()
@spec filter_alternative_renditions_for_stream(HLS.VariantStream.t(), t()) :: [ HLS.AlternativeRendition.t() ]
Returns the alternative renditions for this stream.
Link to this function
update_alternative_rendition(master, rendition_name, rendition_type, update_fn)
View Source@spec update_alternative_rendition( t(), binary(), HLS.AlternativeRendition.type_t(), (HLS.AlternativeRendition.t() -> HLS.AlternativeRendition.t()) ) :: t()
@spec variant_streams(t()) :: [HLS.VariantStream.t()]
Returns all variant streams of the playlist.