Playback workflow (HLS)

The encoder should generate the primary and backup URLs as follows:

  • Base Playback: example-i.akamaized.net
  • Primary Playback Path: hls/live/[stream_id]/[event_name]/[filename].m3u8

    Example: http://testconfig-i.akamaized.net/hls/live/50002/test79/test79.m3u8

  • Backup Playback Path: hls/live/[stream_id]-b/[event_name]/[filename].m3u8

    Example: http://testconfig-i.akamaized.net/hls/live/50002-b/test79/test79.m3u8

    The above playback information is embedded in the variant m3u8 file.

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=648224,RESOLUTION=640x360,CODECS="avc1.4d401e,mp4a.40.2"
    http://example-i.akamaized.net/hls/live/500002/test/01.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=648224,RESOLUTION=640x360,CODECS="avc1.4d401e,mp4a.40.2"
    http://example-i.akamaized.net/hls/live/50002-b/test/01.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=443680,RESOLUTION=400x224,CODECS="avc1.42e00d,mp4a.40.2"
    http://example-i.akamaized.net/hls/live/500002/test/02.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=443680,RESOLUTION=400x224,CODECS="avc1.42e00d,mp4a.40.2"
    http://example-i.akamaized.net/hls/live/50002-b/test/02.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=956544,RESOLUTION=640x720,CODECS="avc1.4d401f,mp4a.40.2"
    http://example-i.akamaized.nett/hls/live/500002/test/03.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=956544,RESOLUTION=640x720,CODECS="avc1.4d401f,mp4a.40.2"
    http://example-i.akamaized.net/hls/live/50002-b/test/03.m3u8