• By VIDIZMO Team
  • Last updated: November 13, 2024
  • 7 minute read

Everything You Need to Know About Video Streaming Protocols

Understand video streaming protocols, how they work, and why they matter. Enhance streaming quality with the right protocols.

Video technology has come a long way since the first moving picture was created back in 1888. Today, you can share a video with millions of viewers across the world with just a couple of taps on your laptop or phone. On average, each person watches around 16 hours of video every week (a 52% increase over the last two years!). But the ease with which we can now share videos belies the true complexity of streaming video. A fundamental part of being able to send and play video on your device is video streaming protocols.

Video streaming protocols make it possible to stream and deliver video on your device. They are essentially rules for sending and receiving data to enable a smooth playback experience. Understanding video streaming protocols is essential since they need to be compatible with both the input source and the endpoint.

To better understand how you can effectively use video, it’s important to understand how various protocols impact video streaming, so let’s get into it. 

VIDIZMO - Optimized Playback Through Modern Video Streaming Protocols

Learn More About VIDIZMO Enterprise Video Platform

See a Live Demo of  What You Can Create Using VIDIZMO

What is a Video Streaming Protocol?

A streaming protocol refers to a set of rules that define how data (such as for video) should be communicated from one device or system to another across the Internet. Video streaming protocols act as a standardized method of segmenting a video stream into smaller chunks, transmitting the data across the Internet and providing playback in sequence. Protocols lie within layers to create a protocol stack. Each protocol comes with its own set of advantages and drawbacks. For example, certain protocols have the ability to provide ABR or adaptive bitrate streaming. Some protocols, however, are not as widely supported by devices or suffer from latency issues.

What Isn’t a Video Streaming Protocol? 

Now that we’ve clarified what a video streaming protocol is, we should define what it’s not. Before we get into any more details, it’s important to clarify that what a streaming protocol isn’t. It’s a common mistake to assume a video streaming protocol is the same as a codec or container format. 

A codec is used to make your video files smaller. Videos can take up a lot of storage. A codec compresses video files by deleting unimportant information in order to compress the video. For example, imagine you record a video with a still, blue background that remains the same for a minute.  After the first frame, there’s no need for the blue background to render again for the subsequent frames. The codec discards the redundant visual information for each individual pixel and simply keeps a reference to reduce storage instead. 

People sometimes also confuse streaming protocols with container formats. However, video streaming protocols define how the data is transported while container formats define how data is stored. It generally consists of a video file, audio file and metadata. Some common container formats include MP4 and FLV. 

You can learn more about codecs, containers and outputs on TechSmith’s blog here.

Understanding the Different Types of Video Streaming Protocols

It’s important to consider what kind of protocol is supported by devices when choosing a video streaming protocol. Each protocol serves its purpose and varies in terms of factors, such as latency and compatibility.

Common video streaming protocols include: 

Let’s take a look at each of these different video streaming protocols. 

Real-Time Messaging Protocol (RTMP) 

Created by Macromedia and later acquired by Adobe, this universally accepted protocol was designed for streaming live and on-demand videos using Adobe Flash applications. This universally accepted protocol is designed to maintain low latency connections by transmitting video and audio data in small packets. RTMP is a protocol based on TCP that was designed with the purpose of maintaining low-latency connections. However, this protocol was developed primarily to work with the Flash player. This video streaming protocol has various variants, such as:

  • RTMPE 
  • RTMPS 
  • RTMPT 
  • RTMFP (travels over UDP instead of TCP) 

Adobe’s announcement for ending support for the Flash player in 2020 has severely reduced its viability, though it is still used with an RTMP encoder; it is ingested and converted to another protocol for playback (usually HLS) for last-mile delivery or egress. It is not recommended, however, since it is rapidly becoming obsolete.

Specifications:

  • Video Codecs:264, VP6, VP8, Sorenson Spark, Screen Video v1 & v2.
  • Audio Codecs: MP3, AAC, AAC-LC, HE-AAC+ v1 & v2, Opus, Speex, Vorbis
  • Player Compatibility: Flash Player, Adobe AIR, RTMP-compatible players

Pros:

  • Low latency (approximately 5 seconds)
  • No buffering required

Cons:

  • Low scalability
  • Not optimized for quality
  • Will eventually become obsolete due to death of Flash

Learn more about RTMP and it's history in video streaming.

Real-Time Streaming Protocol (RTSP)

Another traditional, but lesser-known protocol, RTSP is slightly different from RTMP. A very low latency protocol, it’s mainly used as a remote control to pause, play or stop video sessions by commanding and controlling media servers. This protocol is popular for communication and entertainment systems. Its low latency also makes it popular for surveillance systems, drone streaming and other IoT devices as well. However, it’s much less popular than other protocols; while it’s still relatively prevalent among IP cameras, iOS and Android devices generally don’t offer players compatible with this protocol. It also relies on the Real-Time Transport Protocol (RTP) and Real-Time Control Protocol (RTCP) for delivering the data.

Specifications:

  • Video Codecs:265 (preview), H.264, VP9, VP8
  • Audio Codecs: AAC, AAC-LC, HE-AAC+ v1 & v2, MP3, Speex, Opus, Vorbis
  • Player Compatibility: Quicktime Player and other RTSP/RTP-compliant players, VideoLAN VLC media player, 3Gpp-compatible mobile devices

Pros:

  • Low latency (approximately 2 seconds)
  • Widespread among IP cameras and surveillance systems

Cons:

  • Low scalability
  • Not optimized for quality
  • Dependent on other protocols (RTP & RTCP)
  • Not commonly supported or compatible with many devices

HTTP Live Streaming (HLS)

Also known as Apple HLS, this protocol was developed in 2009 by Apple original for iOS devices. It has since become, however, the most widely popular video streaming protocol. HLS video streaming is compatible with a wide majority of devices and HTML5 players. The death of Flash has made most users switch to HTML5 players, which is the primary reason for its increased popularity. Additionally, it is one of the most secure and scalable protocols out there. It also supports adaptive bitrate streaming, so it automatically optimizes the stream according to the devices’ resolution and network condition. However, unlike traditional streaming protocols, it can have relatively high latency.

Specifications:

  • Video Codecs:265, H.264
  • Audio Codecs: AAC-LC, HE-AAC+ v1 & v2, xHE-AAC, Apple Lossless, FLAC
  • Playback Compatibility: iOS and Android devices, Google Chrome, Firefox, Edge, Safari, most smart TVs, online video platforms, etc.

Pros:

  • High scalability
  • High quality
  • Widely popular and supported
  • Adaptive bitrate streaming

Cons:

  • High latency with quality prioritized over latency for live streaming. However, this problem is solved by the new low-latency HLS, one that VIDIZMO provides during live streaming.

Large Video Files Whitepaper CTA

MPEG-DASH

One of the newer streaming protocols, MPEG-DASH is a common alternative for HLS in the industry. It was developed by the Moving Pictures Expert Group (MPEG), an international authority on digital audio and video standards, to deliver video and audio to devices over web servers using the DASH (Dynamic Adaptive Streaming over HTTP) protocol. An open-source option, it can be customized to support any audio or video codec. It also provides adaptive bitrate streaming, but isn’t supported by Apple software, since Apple prefers prioritizing its own protocol.

Specifications:

  • Video Codecs: Any since it’s codec-agnostic
  • Audio Codecs: Any since it’s codec-agnostic
  • Playback Compatibility: All Android devices, Chrome, Safari, Firefox, various players (JW Player, Bitmovin, etc.,), most post-2012 Samsung, Sony, Panasonic and Philips TVs

Pros:

  • Open-source protocol
  • Codec-agnostic
  • Adaptive bitrate streaming
  • Optimized for user experience

Cons:

  • High latency
  • Not compatible with Apple software and devices

Microsoft Smooth Streaming (MSS)

Developed by Microsoft, this video streaming protocol was designed for applications with the Silverlight player, but is now compatible with a wider range of devices, including iOS. Like the previously mentioned HTTP protocols, MSS also provides adaptive bitrate streaming and tools for protecting against piracy. This protocol hasn’t seen the same level of popularity as the other protocols, however.

Specifications:

  • Video Codecs:264, VC-1
  • Audio Codecs: AAC, MP3, WMA
  • Playback Compatibility: Microsoft devices, browsers supporting Silverlight, Apple/iOS devices, Xbox, TVs/STBs

Pros:

  • Adaptive bitrate streaming
  • DRM protection

Cons:

  • Proprietary technology (mostly restricted to Microsoft applications)

HTTP Dynamic Streaming (HDS)

HDS was Adobe’s answer for an adaptive bitrate streaming protocol that evolved as a successor to the RTMP protocol. Already with a low latency, adding adaptive bitrate streaming only added to Adobe’s successive protocol. However, similar to RTMP, this protocol requires a Flash player and since Adobe has retired the Flash player, this protocol is well on its way to becoming obsolete as well.

Specifications:

  • Video Codecs: 264, VP6
  • Audio Codecs: AAC, MP3
  • Playback Compatibility: Flash Player, Adobe AIR

Pros:

  • Adaptive bitrate streaming
  • Support for high quality videos

Cons:

  • Mid-high latency
  • Will eventually become obsolete due to death of Flash

Web Real-Time Communications (WebRTC)

WebRTC is one of the new latest video streaming protocols with the fastest video and audio streaming capabilities of any existing protocol today. With near-instantaneous, this protocol is primarily used for peer-to-peer video and audio sharing between browsers. While considered the best video streaming protocol by some of today, this protocol is primarily designed for video conferencing and lacks scalability.

Specifications:

  • Video Codecs:264, VP8, VP9
  • Audio Codecs: Opus, iSAC, iLBC
  • Playback Compatibility: Chrome, Safari, Opera, Firefox, and certain other browsers

Pros:

  • Super fast
  • Browser-based protocol

Cons:

  • Designed for video conferencing
  • Not scalable

Secure Reliable Transport (SRT)

This open-source protocol is capable of providing high quality video streaming regardless of the network conditions. Created by the SRT Allliance (which includes prominent video technology experts such as Microsoft and Wowza), this video streaming protocol has been recognized as a competitive substitute to both RTMP and RTSP, SRT offers reliable live video streaming with low latency over suboptimal networks. Moreover, this video streaming protocol is also codec-agnostic, meaning it can operate with any modern audio or video codecs. However, this protocol is still not widely supported yet due to being an emerging technology.

Specifications:

  • Video Codecs: Any since it’s codec-agnostic
  • Audio Codecs: Any since it’s codec-agnostic
  • Playback Compatibility: VLC Media Player, FFPlay, Haivision Play Pro, Haivision Play, Larix Player)

Pros:

  • High-quality video support
  • Low latency streaming over suboptimal networks

Cons:

  • Not commonly supported or compatible with many devices

Considerations for Choosing the Right Protocol

Each protocol has something different to offer. When choosing the best video streaming protocol for your use case, it’s important to contemplate the following factors:

  • Scalability
  • Latency
  • Kind of use
  • Support and compatibility
  • Quality of experience (adaptive bitrate features, etc.)
  • Playback support
  • Codec requirements

By keeping in mind the factors above, organizations can choose relevant video streaming protocols according to their needs. While legacy protocols (i.e., RTMP, RTSP) are still widely popular for input, most devices and players are quickly adapting to newer and more efficient protocols.

VIDIZMO for Video Streaming

VIDIZMO is a video platform that offers live streaming, with support for a range of legacy protocols, RTMP and mordern HLS. VIDIZMO allows you to ingest RTMP streams and deliver an HLS stream due to it’s a wider range of compatibility with browsers and devices. An end-to-end solution for video streaming and content management, VIDIZMO offers a complete enterprise video platform with on-demand streaming as well, and much more. Learn more about VIDIZMO as a interactive live streaming platform here, and how VIDIZMO optimizes video for delivery and bandwidth.

 

Learn More

Contact Us

Read our blog on the comparison of the top live video solutions.

Posted by VIDIZMO Team

We at VIDIZMO are experts in secure and compliant video streaming and digital evidence management. Our aim is to help educate such that you can better utilize your video data.

VIDIZMO Whitepapers

Submit Your Comment