View Source HLS.Playlist.Unmarshaler protocol (HTTP Live Streaming (HLS) library v2.0.0)

Summary

Types

t()

All the types that implement this protocol.

Functions

Returns a list of modules implementing the tag behaviour that are used to define the playlist.

Types

@type t() :: term()

All the types that implement this protocol.

@type tag_map_t() :: %{
  required(HLS.Playlist.Tag.tag_id_t() | {pos_integer(), :segment}) => [
    HLS.Playlist.Tag.t()
  ]
}

Functions

Link to this function

load_tags(playlist, tags)

View Source
@spec load_tags(t(), tag_map_t()) :: t()
Link to this function

supported_tags(playlist)

View Source
@spec supported_tags(t()) :: [HLS.Playlist.Tag.behaviour_t()]

Returns a list of modules implementing the tag behaviour that are used to define the playlist.