HTTP Live Streaming Overview

Download as pdf or txt
Download as pdf or txt
You are on page 1of 28


<OBJECT> <VIDEO>

<OBJECT> <VIDEO>
Server Distribution

origin web server


media encoder stream segmenter
MPEG-2
transport stream Index
file
.ts

Audio/Video HTTP
inputs

Client

.ts

.M3U8
/usr/bin/mediastreamsegmenter /usr/bin

developer.apple.com

.ts .M3U8
.m3u

.m3u
.mp3

.M3U8
#EXTM3U
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:10
#EXTINF:10,
http://media.example.com/segment1.ts
#EXTINF:10,
http://media.example.com/segment2.ts
#EXTINF:10,
http://media.example.com/segment3.ts
#EXT-X-ENDLIST

.ts

.M3U8
.M38U
.MP3

.M3U8
.ts

.M3U8

.M3U8
#EXT-X-ENDLIST
#EXT-X-ENDLIST
#EXT-X-ENDLIST
.M3U8
Alternate-A
Index file

.ts

Index Alternate-B
file Index file

.ts

Alternate-C
Index file

.ts
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000
http://ALPHA.mycompany.com/lo/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000
http://BETA.mycompany.com/lo/prog_index.m3u8

#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=500000
http://ALPHA.mycompany.com/md/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=500000
http://BETA.mycompany.com/md/prog_index.m3u8

.M3U8 .ts



#EXT-X-ENDLIST
.ts

.M3U8
/usr/bin/mediastreamsegmenter /usr/bin

developer.apple.com

.ts

mediastreamsegmenter

man mediastreamsegmenter

CODECS EXT-X-STREAM-INF
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=500000
mid_video_index.m38u
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=800000
wifi_video_index.m38u
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=3000000, CODECS="avc1.4d001e, mp4a.40.5"
h264main_heaac_index.m38u
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=64000, CODECS="mp4a.40.5"
aacaudio_index.m38u

CODECS BANDWIDTH EXT-X-STREAM-INF

BANDWIDTH

CODECS

CODECS

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=500000
mid_video_index.m38u
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=150000
3g_video_index.m38u
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=64000, CODECS="mp4a.40.5"
aacaudio_index.m38u

You might also like