Atiqul Hasan | July 3, 2019 | 957 views | 5 People said helpful.
HLS (HTTP Live Streaming) is a HTTP-based streaming communication protocol which is developed by Apple to deliver both live and on-demand stream. It allows a receiver to adapt the bit rate of the media to the current network conditions in order to maintain uninterrupted playback at the best possible quality.
HLS is a quality streaming technology that is widely supported in streaming from vendors like Adobe, Microsoft, RealNetworks, and Wowza. It also supports real-time transmuxing process in distribution platforms like Akamai.
Apple originally developed http live streaming technology to allow content providers to send live or prerecorded audio and video to Apple devices using an ordinary Web server. Figure 1 shows the general structure of HLS Protocol.
After the media is encoded, it is segmented through a stream segmenter. The stream segmenter segments the media data, which is received with respect to a fixed time interval, generates a segmented file, and then generates a playlist file of metadata (.m3u8) through which the segmented file can be accessed from client devices. Live streaming requires storing data in real-time; thus, segmenting media data through a segmenter is not required. Instead, segmented streaming data can be produced based on a predetermined duration of a media segment which is then stored.
The playlist file, which has an m3u8 file extension, has at least three types of TS files in MPEG-2 media format. Users download an extended M3U playlist file which contains several URIs corresponding to media files. Each individual media file must be formatted as an MPEG-2 TS. For continuous live streaming, the playlist must be updated with the production of the MPEG-2 TS file together with the produced URIs.
Transmitting of media content via the HLS technology has the following advantages:
HLS is an adaptive streaming technology to communicate with iOS and Apple devices. It provides a reliable, cost-effective means of delivering continuous and long-form video over the internet.