HLS.AlternativeRendition (HTTP Live Streaming (HLS) library v2.4.0)

View Source

Summary

Types

t()

@type t() :: %HLS.AlternativeRendition{
  assoc_language: String.t(),
  autoselect: boolean(),
  channels: String.t(),
  characteristics: [String.t()],
  default: boolean(),
  forced: boolean(),
  group_id: HLS.Playlist.Tag.group_id_t(),
  instream_id: String.t(),
  language: String.t(),
  name: String.t(),
  type: type_t(),
  uri: URI.t()
}

type_t()

@type type_t() :: :subtitles | :audio | :video | :cc

Functions

default_group_for_type(type)

from_tag(tag)

to_tag(alternative)