51.8% of the one million most visited websites around the world, use HTTP. Other studies have different numbers, but the underlying point is that HTTP is a famous protocol, and it’s a no-brainer that video streaming over HTTP (HTTP Live Streaming or HLS) is one of the most commonly used video streaming protocols. Bitmovin’s report cites HLS to make up 79% of all video streaming. Popular or not, that’s another debate. It still leaves us with the question; what is HLS streaming? Why use it and how does it work?
HTTP Live Streaming (HLS) is a video streaming protocol that was launched by Apple in 2009 along with the unveiling of its iPhone 3.0. It was primarily created to reduce dependency on Flash. This is because HLS delivers video using the Hypertext Transfer Protocol (HTTP), and hence can be served or cached using any ordinary web server and can be played by an HTML5 player.
It’s a widely used protocol mainly because it can run on any web server and can be played on any device. It also allows for adaptive bitrate streaming, where the stream quality can be adjusted according to changing bandwidth conditions.
HLS is even more widely used than a few modern streaming protocols such as P2P. For instance, P2P streaming requires a specialized setup, as end-user devices need to keep TCP or UDP ports open through NAT and firewalls. This is not the case with HLS - it is simple and allows users to view videos through any browser or any device.
HLS delivers video using the TCP transport protocol, which involves setting up a formal connection with the end-user device before video streaming starts. This helps ensure that no video frames are lost in transit. However, the use of TCP is one of the reasons for the slower delivery of video through HLS. As opposed to the UDP transport protocol, which is faster but less secure.
Despite live streaming being part of its name, HLS is used for both live and on-demand video streaming. In the case of live streaming, videos are encoded into streams in real-time and served to client devices. In on-demand streaming, the videos are stored in pre-encoded formats and delivered through a server when a client device initiates a request to view it.
HTTP Live Streaming (HLS) can be considered as breaking down videos into smaller chunks. Each of these byte size chunks can then be requested by the end-user device from the server.
All of these processes usually take place in a video streaming server or at the backend of video streaming platforms. Learn more in our blog on what is video streaming.
Following are the pros and cons of HLS in comparison to other video streaming protocols:
Need to stream videos using HLS, such that they are optimized to solve bandwidth challenges and play easily on any device? VIDIZMO EnterpriseTube allows you to set up your organization’s own YouTube-like portal, where you can upload videos and stream them privately with internal audiences or publicly. You can create a library for on-demand videos or carry out a live stream – with low latency HLS.
VIDIZMO EnterpriseTube is a Gartner-recognized enterprise video platform, that helps you stream videos for end-to-end video use cases. Be it training your internal employees, or sharing confidential videos with select restricted audiences, or conducting a live event, sharing it later for on-demand viewing. You can do it all through one system! Integrate it with your LMS, CMS, SSO, or ingest recorded meetings from Zoom.
We have been in the video industry for over 20 years and have been solving multiple video streaming challenges for large enterprises like the US Department of State, Ball Corporation, NEC and more. We have been working constantly to help organizations deliver videos using the latest technologies. Feel free to contact us for consultation or to discuss more on how our solutions can help solve your video challenges.