Module: HLSConstants
- Included in:
- HLSKey, HLSManifest, HLSMediaSegment, HLSPlaylist, M3U8Generator
- Defined in:
- lib/hls_constants.rb
Overview
All tags and attribute names below are described in the HLS draft found at: tools.ietf.org/html/draft-pantos-http-live-streaming-08
Constant Summary collapse
- SUPPORTED_M3U8_VERSIONS =
Versions
[4]
- FIXNUM_MAX =
(2**(0.size * 8 -2) -1)
- EXTM3U =
Global (or we’re not sure what level they apply to) tags
"#EXTM3U"- EXT_X_VERSION =
"#EXT-X-VERSION"- EXT_X_FAXS_CM =
"#EXT-X-FAXS-CM"- EXT_X_MEDIA =
Playlist tags
"#EXT-X-MEDIA"- EXT_X_STREAM_INF =
"#EXT-X-STREAM-INF"- EXT_X_STREAM_INF_ATTRS =
EXT_X_STREAM_INF attribute names
{ :BANDWIDTH => "BANDWIDTH", :CODECS => "CODECS", :PROGRAM_ID => "PROGRAM-ID", :RESOLUTION => "RESOLUTION", :AUDIO => "AUDIO", :VIDEO => "VIDEO" }
- EXT_X_ENDLIST =
Sub-level m3u8 tags
"#EXT-X-ENDLIST"- EXT_X_MEDIA_SEQUENCE =
"#EXT-X-MEDIA-SEQUENCE"- EXT_X_PLAYLIST_TYPE =
"#EXT-X-PLAYLIST-TYPE"- EXT_X_TARGETDURATION =
"#EXT-X-TARGETDURATION"- EXTINF =
Media segment tags
"#EXTINF"- EXT_X_ALLOW_CACHE =
"#EXT-X-ALLOW-CACHE"- EXT_X_DISCONTINUITY =
"#EXT-X-DISCONTINUITY"- EXT_X_KEY =
"#EXT-X-KEY"- EXT_X_CUE_OUT =
"#EXT-X-CUE-OUT"- EXT_X_CUE_IN =
"#EXT-X-CUE-IN"- EXT_X_KEY_ATTRS =
EXT_X_KEY attribute names
{ :METHOD => "METHOD", :URI => "URI", :IV => "IV" }