Apple’s  HTTP Live Streaming
Agenda System Overview Components Session
Apple’s Note Note:  Many existing streaming services require specialized servers to distribute content to end users. It requires specialized skills to set up and maintain these servers, and in a large-scale deployment these servers can be costly. Apple has designed a system that avoids this by using standard HTTP to deliver the streams.
System Overview
Components Review Server Encoder Segmenter Distributer Basic HTTP Server Client
Server Receives Digital / Analog input stream Encodes / Transcode video/audio H.264 Video AAC audio (HE-AAC or AAC-LC) Encodes / Transcode audio only:  MPEG-2 elementary streams, HE-AAC or AAC-LC files, or MP3 files Encapsulate in MPEG2  Transport Stream Program Stream
Segmenter All segments should be with the same duration All segments are placed in a separate file Creates Index file with references to segment files For protection, the Segmenter might encrypt each media segment and create a key file
Distribution Distribution system is a regular HTTP Server Could be Apache or small embedded Server
Files Segments – stored as *.ts files Index files – stored as *.m3u8 Index file format example: #EXTM3U #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
Session types Live Stream Broadcast Index file is continues updated Include a moving window of segments around “live” part of the session Client should continuously refresh the Index file  VoD Session Index file static Includes ALL the segments of the file Enables “Seek” operation
Multi-bitrate multi–device support Multi-bitrate is enabled via multiple index files Index files are pointed by a global index files Client can select a stream according to: Device properties Available bit rate This method is less efficient than Silverlight Global File
Test yourself What are the two Live streaming file types? What is the role of the Segmenter? On which delivery protocol is the live streaming based?
DSP-IP Contact information For Course materials licensing & lecture request contact:  For projects development services contact:  Adi Yakov Training and Courses Manager [email_address] +972-9-8651933 www.dsp-ip.com   Mail  :  [email_address]   Phone:  +972-9-8850956,  Fax  :  +972-50- 8962910 Alona Ashkenazi Technology Management  Services  :  [email_address] +972-9-8850956

Apple's live http streaming

  • 1.
    Apple’s HTTPLive Streaming
  • 2.
    Agenda System OverviewComponents Session
  • 3.
    Apple’s Note Note: Many existing streaming services require specialized servers to distribute content to end users. It requires specialized skills to set up and maintain these servers, and in a large-scale deployment these servers can be costly. Apple has designed a system that avoids this by using standard HTTP to deliver the streams.
  • 4.
  • 5.
    Components Review ServerEncoder Segmenter Distributer Basic HTTP Server Client
  • 6.
    Server Receives Digital/ Analog input stream Encodes / Transcode video/audio H.264 Video AAC audio (HE-AAC or AAC-LC) Encodes / Transcode audio only: MPEG-2 elementary streams, HE-AAC or AAC-LC files, or MP3 files Encapsulate in MPEG2 Transport Stream Program Stream
  • 7.
    Segmenter All segmentsshould be with the same duration All segments are placed in a separate file Creates Index file with references to segment files For protection, the Segmenter might encrypt each media segment and create a key file
  • 8.
    Distribution Distribution systemis a regular HTTP Server Could be Apache or small embedded Server
  • 9.
    Files Segments –stored as *.ts files Index files – stored as *.m3u8 Index file format example: #EXTM3U #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
  • 10.
    Session types LiveStream Broadcast Index file is continues updated Include a moving window of segments around “live” part of the session Client should continuously refresh the Index file VoD Session Index file static Includes ALL the segments of the file Enables “Seek” operation
  • 11.
    Multi-bitrate multi–device supportMulti-bitrate is enabled via multiple index files Index files are pointed by a global index files Client can select a stream according to: Device properties Available bit rate This method is less efficient than Silverlight Global File
  • 12.
    Test yourself Whatare the two Live streaming file types? What is the role of the Segmenter? On which delivery protocol is the live streaming based?
  • 13.
    DSP-IP Contact informationFor Course materials licensing & lecture request contact: For projects development services contact: Adi Yakov Training and Courses Manager [email_address] +972-9-8651933 www.dsp-ip.com Mail : [email_address] Phone: +972-9-8850956, Fax : +972-50- 8962910 Alona Ashkenazi Technology Management Services : [email_address] +972-9-8850956