tech • 1 month ago
What is RTMP? An Inside Look at the Real-Time Messaging Protocol
If you're curious how live video actually works behind the scenes, here's a quick look at the technology that makes it possible: RTMP.
7 minutes read
The acronym RTMP may sound like a cool underground band, but the term actually stands for “Real-Time Messaging Protocol.” This is simply a fancy way of talking about how live stream data moves from one place (your camera) to another (your audience’s mobile device, television, or web browser) across the web.
NOTE: A streaming protocol is different from a codec. The protocol defines how data gets transmitted over the internet, while a codec modulates the audio or video data into a compressed digital format.)
If you follow the journey of data from screen to screen, there are a handful of important stops along the way. Each stage – including the camera, the encoder, the server, and video host – are important, though RTMP is currently an ingest protocol focused on just first-mile delivery in today’s streaming landscape.
Where did RTMP come from, and why is it still in use today?
Well, let’s travel back in time to the internet stone age: 1996. In this important year, Macromedia developed RTMP as a TCP technology, connecting its then-new Flash Media player to a dedicated media server to offer some of the very first live streaming over the web.
After Macromedia was acquired by Adobe in 2005, the company continued supporting RTMP as part of its Flash plugin, even making it publicly available in 2008. Fast forward again, and Flash was discontinued in 2020 – largely due to security issues – but also because technology had evolved to include more places for live streaming output, including OTT and mobile devices. That’s when the conventional RTMP technology died.
Of course, RTMP still exists in a different form. These days, live streamers often use RTMP ingest to contribute streaming data via encoder, and then it’s transcoded into a different playback protocol – such as HLS – for distribution to all of the different devices where your stream is viewed.
In addition, content delivery networks (like the one included with Flowplayer) were added to the chain to improve delivery speeds for maximum video quality.
RTMP originally was a delivery protocol that covered the whole chain for transmitting data in real time from a server to a video player – but these days, it’s mostly used on the encoding side.
The four stages of a typical stream are:
As we mentioned before, RTMP delivery is dead, but RTMP ingest is still popular and widely used for video hosting platforms, paired with an HTML5 video player for all-device streaming.
As important as RTMP is, it’s not the only streaming protocol out there. You’ll find several RTMP variations, plus protocols that focus on other stages of the streaming process. You should also be aware of emerging ingest protocols that stand as direct alternatives to RTMP.
Here are a few of the prominent streaming protocols:
Remember that RTMP is the protocol used in the encoder settings for a video host like Flowplayer, but you still need an encoder to convert your camera’s RAW video data to a digital video format so it can be broadcasted online.
Fortunately, there are plenty of software or hardware encoders you can use. We recommend OBS Studio as an excellent software option – if you’re looking for truly professional live stream quality, it may be worth the higher investment in encoding hardware instead.
Now that you know what RTMP is, you may still be wondering why it’s so popular.
At Flowplayer, we currently use the RTMP protocol for receiving live ingests because it offers several key benefits.
We choose to support RTMP in our video player right now because we’re committed to offering the highest quality viewing experience for your audience. That means if RTMP is eventually supplanted by an up-and-coming new technology like SRT, you can bet that we’ll evolve to ensure you and your viewers have the best possible live streaming experience!.
In Flowplayer, it’s as simple as using one of our presets when you choose your bitrate settings for live streaming.
As we said before, RTMP is widely supported, easy to use, and fast. It’s possible that newer technology will replace RTMP someday, but for now, we believe it’s an important protocol to support.
Yes, see our answer above in the section on alternative video streaming protocols. Also, remember that some protocols focus on last-mile delivery, such as HLS, which differs from the first-mile functionality of RTMP.
Hopefully, this post has helped you fully answer the question, “What is RTMP?”
In the end, the Real Time Messaging Protocol (RTMP) may seem like a fossil from a bygone era, but this protocol is still widely supported by many platforms for RTMP ingest, even though it’s essentially dead for delivery since the end of Flash. As it’s continued to evolve in live streaming, RTMP remains as important as ever.
With that said, unless you’re truly fascinated by all the details of live video technology, we’d be happy to handle all the technical stuff for you! You should be focused on delivering the best content you can in your live stream, allowing Flowplayer to deliver the video quality you need!
Flowplayer uses RTMP as the protocol for its Enterprise-level live streaming. If you want to learn more about how this protocol supports quality live streams, contact us here. Or to see all of the features in our Enterprise plan, please visit our Plans and Pricing page!
VOD & Playlist Capability
Includes up to 500 GB of bandwidth
Includes up to 50,000 plays
Self-Service Knowledge Base
VOD, Playlist, DRM & Live Streaming Capability
SDK & Monetisation Capability with Analytics
More than 500 GB of streaming
More than 50,000 plays