HTTP live streaming, also known as HLS, is a standard adaptive streaming technology introduced by Apple. HLS can be employed to broadcast live, on-demand, and even audio streaming to users over HTTP.

HLS Operations

Like other adaptive streaming methods, a video file contains different versions with different bitrates, the details of which are kept in a file named the 'manifest'. Then, each of these different versions is divided into smaller sections known as chunks (.ts files).

.M3U8.64KAUDIO ONLY+ STILL IMAGECELLULAR.JPG.JPG200K240P45 KEYFRAMES15FPSCELLULAR.TS.TS420K288P72 KEYFRAMES15FPS3G.TS.TS1000K360P90 KEYFRAMES30FPS4G.TS.TS1400K432P90 KEYFRAMES30FPSLTE.TS.TS200K480P90 KEYFRAMES30FPSLO-WIFI.TS.TS2600K576P90 KEYFRAMES30FPSMID-WIFI.TS.TS3400K720P90 KEYFRAMES30FPSHI-WIFI.TS.TS

The manifest is an m3u8 file; it is a text file used by video and audio players. In addition to different resolutions of a stream, this file includes the position of each chunk, data rate, subtitle (if any), language, etc. If the manifest is opened with a text editor (e.g. Notepad), its contents will be as follows:

HLS Manifest sample

HLS includes three components:

  • Encoders: These are the servers responsible for encoding and preparing streams (generating chunks and the manifest file).
  • Edge Servers: These are the webservers delivering the stream to the end user.
  • User: Finally, the client-side application (i.e. the player) is responsible for identifying the content required by the user, downloading streams, and playing the content of the pre-streaming original video to the user.

The first file downloaded by the player is the manifest. Before the video plays, the player has no information regarding its structural status including the available bandwidth. Therefore, the player selects the lowest resolution from the manifest file and starts playing the video. Then, it monitors the bandwidth and switches to the high-quality version if the bandwidth is evaluated at a satisfactory level. When the video is being played, if the connection gets interrupted or the bandwidth suddenly drops, the player immediately switches to the low-quality version to avoid stopping the video.

Live Streaming

In live streaming, the server receives a raw and uncompressed video and compresses it using an encoder (a hardware or software tool used to change the formats of video data) and the H.264 codec, converting it into the MPEG-2 Transport Streams format. Then, the stream is divided into different chunks and the manifest file is generated. The chunks and the manifest file are stored on the webserver to be delivered to the end user.

ArvanCloud and Full HLS Compatibility

Being totally compatible with HLS, ArvanCloud employs the adaptive bitrate method to provide end users with the content. In fact, it guarantees that end users will see the video content in the shortest time possible and at the highest quality in accordance with their Internet connection status.
Although HLS was introduced by Apple, it has now become a standard protocol for different browsers such as Google Chrome, Safari, and Microsoft Edge as well as Android, macOS, and iOS devices (e.g. iPad and iPhone).

 
Choose your plan
Personal website
free
Commercial website
6.2 €
Per month
Pro website
62.4 €
Per month
Source website
624.9 €
Per month
Choose live streaming duration, incoming bitrate and outgoing quality
Storage: 10 GB
Free
10 GB
10 TB
Used Traffic: 20 GB
Free
20 GB
500 TB
Secure Request : 0
Free
0
10,000
Parallel Convert : 0
Free
0
100