<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Red5</title>
    <description>The latest articles on DEV Community by Red5 (red5).</description>
    <link>https://dev.to/red5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F11406%2Fe4e2a767-0c82-4f76-8054-e34497ce52b3.jpg</url>
      <title>DEV Community: Red5</title>
      <link>https://dev.to/red5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/red5"/>
    <language>en</language>
    <item>
      <title>What is WHIP and WHEP? Creating Simpler and Faster WebRTC Connections</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Mon, 02 Nov 2026 05:00:52 +0000</pubDate>
      <link>https://dev.to/red5/what-is-whip-and-whep-creating-simpler-and-faster-webrtc-connections-31ca</link>
      <guid>https://dev.to/red5/what-is-whip-and-whep-creating-simpler-and-faster-webrtc-connections-31ca</guid>
      <description>&lt;p&gt;WHIP and WHEP are the newest additions to the WebRTC ecosystem, designed to simplify how real-time connections are made. In this blog, you will learn what these protocols are, how they work, why they matter, and what benefits they bring to developers and enterprises.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;What is WebRTC&lt;/a&gt;?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; or Web Real-Time Communication protocol is an open-source technology that enables real-time communication directly in the browser without plugins. It powers use cases like video calls, &lt;a href="https://www.red5.net/solutions/broadcast-news/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;news&lt;/a&gt; and &lt;a href="https://www.red5.net/solutions/sports-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;sports&lt;/a&gt; broadcasting, &lt;a href="https://www.red5.net/case-studies/red5-cloud-zixi-real-time-monitoring-and-streaming-solution-for-live-event-production/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;live events&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/streaming-for-video-surveillance-and-public-safety/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;video surveillance&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/auction-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;live auctions&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/sports-betting/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;sports betting&lt;/a&gt;, and other interactive applications. With WebRTC, you can achieve &lt;a href="https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;ultra-low latency&lt;/a&gt; streaming, making it ideal for experiences that require instant viewer interaction.&lt;/p&gt;

&lt;p&gt;The WebRTC connection setup of yesteryear, and largely still today, is something that can drive a nuts and bolts networking-type crazy. It’s a &lt;a href="https://www.red5.net/blog/3-key-approaches-for-scaling-webrtc-sfu-mcu-and-xdn/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;signaling setup&lt;/a&gt; that involves multiple back-and-forth communications to put together offers and answers in an attempt to agree on the basics that are needed to set up a communications channel. Just about anything that can be done to simplify this process is an improvement. This is where WHIP and WHEP come into play.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is WHIP?
&lt;/h2&gt;

&lt;p&gt;WHIP is the WebRTC HTTP ingestion protocol that simplifies how publishers send their media streams to servers. The idea is simple: either single or tiny subset of HTTP calls to set up communication over HTTPS instead of multiple calls via a WebSocket. Instead of chatting back and forth with offers, answers, candidates, the initiating client packages its offer in a request, and the response returns with both the answer and the Interactive Connection Exchange (ICE) candidates.&lt;/p&gt;

&lt;p&gt;A client wishing to start a publishing session uses WHIP, emphasizing the “I” for ingest. In the initial connection, the client specifies its Session Description Protocol (SDP) offer in an HTTP POST to the server with which it wants to connect. The server responds with the SDP answer and information about the ICE candidates. Previously, this would have required several messages back and forth, adding latency to connection establishment. Using the provided ICE candidates, the publisher attempts to establish a connection, with ICE helping this connection traverse Network Address Translation.&lt;/p&gt;

&lt;p&gt;WHIP clients use the Session Description Protocol (SDP) to describe media capabilities such as codecs, resolution, and audio setup. The whip server responds with an SDP answer containing matching details and ICE candidates that help establish connectivity across different networks. The whip endpoint acts as the entry point for publishers to send their streams to media servers or other ingestion systems. The whip specification defines how HTTP requests carry this information to make setup faster, more predictable, and compatible with existing web infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits of WHIP
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Simpler connection setup:&lt;/strong&gt; WHIP reduces signaling complexity by allowing a single HTTP request to exchange offers and answers, cutting down on multiple round trips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sub-100ms latency:&lt;/strong&gt; Since connection establishment requires fewer steps, publishers can achieve sub second latency from the video source to the server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Better compatibility:&lt;/strong&gt; WHIP uses native HTTP, making it compatible with existing web infrastructure, proxies, and load balancers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Faster integration for developers:&lt;/strong&gt; With fewer moving parts, developers can configure, publish, and manage streams with less custom code and fewer errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improved scalability:&lt;/strong&gt; Its lightweight approach makes it easier to scale ingestion endpoints across distributed architectures like Kubernetes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is WHEP?
&lt;/h2&gt;

&lt;p&gt;WHEP is the WebRTC HTTP egress protocol that makes it easier for browsers and applications to receive real-time streams from media servers. Like WHIP, it simplifies connection setup by combining offer and answer exchange into one HTTP POST call. The response includes ICE candidates, allowing fast and reliable connectivity.&lt;/p&gt;

&lt;p&gt;In WHEP, the emphasis is on “E” for egress. The WHEP protocol allows a viewer or WHEP client to request a stream through a WHEP endpoint, where it sends an SDP offer and receives an SDP answer in return. This process establishes the connection with the WHEP server, completing setup in a single call. ICE helps finalize the connection for the subscriber.&lt;/p&gt;

&lt;p&gt;By simplifying the egress side of &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;, WHEP improves playback reliability and startup speed, allowing users to start watching live streaming content more quickly without waiting for multiple signaling steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits of WHEP
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Instant playback start:&lt;/strong&gt; The single-request mechanism of WHEP reduces setup time, allowing near-instant video stream playback.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simplified architecture:&lt;/strong&gt; Developers can connect players directly to the whep endpoint, removing the need for extra signaling servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compatibility with media infrastructure:&lt;/strong&gt; WHEP works smoothly with existing media servers, making it easier to integrate into current workflows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficient resource management:&lt;/strong&gt; With fewer calls and less signaling, WHEP conserves bandwidth and improves the quality of video stream delivery. For real-time WebRTC delivery, efficient bandwidth usage is only part of the performance equation; understanding the relationship between available network capacity and delivery delay is also important, as explained in our guide to &lt;a href="https://www.red5.net/blog/bandwidth-vs-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;bandwidth vs latency&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexible deployment options:&lt;/strong&gt; Its native use of HTTP allows deployment across cloud environments and tools that already handle REST APIs.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How WHIP and WHEP Compare to Each Other?
&lt;/h2&gt;

&lt;p&gt;Both protocols simplify the WebRTC connection process and help achieve sub-second latency by minimizing the signaling steps needed to establish communication. Let’s take a look at how WHIP and WHEP streaming protocol compare to each other. &lt;/p&gt;

&lt;p&gt;In practice, developers can use both together to create a complete real-time workflow that is easier to manage and &lt;strong&gt;scale&lt;/strong&gt;.. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why switch to WHIP and WHEP?
&lt;/h2&gt;

&lt;p&gt;The market is interested in simplification and reducing the amount of time it takes to establish a connection. By &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/red5-pro-whip-and-whep-configuration/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;switching to WHIP and WHEP&lt;/a&gt;, connection setup time is improved, and development is simplified by reducing the complexity of signaling to a single call.&lt;/p&gt;

&lt;p&gt;At Red5, we are approaching it this way: simplifying how publishers and subscribers connect to ensure faster setup and improved quality of experience. This implementation reduces dependencies and enables flexible configurations within distributed clusters.&lt;/p&gt;

&lt;p&gt;Additionally, using WHIP and WHEP simplifies connection setup in multi-server environments, allowing for either a single call to a &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/stream-manager-2-0/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;Stream Manager&lt;/a&gt; or direct connections to Origin or Edge nodes. This opens new opportunities to scale deployments efficiently, especially when using load balancers or Kubernetes-based systems.&lt;/p&gt;

&lt;p&gt;It is important to note that WHIP and WHEP are still in draft form. Early implementation across encoders and players can vary, and developers might need to adjust configurations to match each platform. The expectation is that once ratified, interoperability will improve as the community adopts the standards more broadly.&lt;/p&gt;

&lt;p&gt;At the moment, organizations that depend on live streaming with ultra-low latency can expect WHIP and WHEP to deliver strong results. While some limitations remain in interoperability, the value they offer lies in easier management, simpler integration, and better scalability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;If you read nothing else, remember this: WHIP simplifies publishing, WHEP accelerates playback, and together they make real-time &lt;strong&gt;live streaming&lt;/strong&gt; easier to build, run, and manage by turning multi-step signaling into a single HTTP request and response. &lt;/p&gt;

&lt;h2&gt;
  
  
  FAQs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What does WHEP mean?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;WHEP stands for WebRTC HTTP Egress Protocol. It defines how clients can request and receive a video stream or audio feed over standard HTTPS without complex signaling. The WHEP endpoint handles setup through a single HTTP request, making live streaming playback faster and easier for browsers and applications.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What does WHIP stand for?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;WHIP stands for WebRTC HTTP Ingestion Protocol. It allows publishers or encoders to send audio and video streams directly to a WHIP server or WHIP endpoint using a single HTTP POST. This reduces latency and simplifies setup compared to traditional multi-step WebRTC signaling.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Does OBS support WHIP?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Yes. &lt;a href="https://www.red5.net/blog/what-is-obs-studio/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20is%20WHIP%20and%20WHEP%3F%20Creating%20Simpler%20and%20Faster%20WebRTC%20Connections" rel="noopener noreferrer"&gt;OBS Studio&lt;/a&gt; supports WHIP through community plugins, allowing any compatible encoder to connect directly to a WHIP server. Red5 is one of the &lt;a href="https://obsproject.com/kb/whip-streaming-guide" rel="noopener noreferrer"&gt;recommended platforms by OBS&lt;/a&gt; for WHIP streaming, providing a reliable and standards-compliant implementation.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>5 Key Reasons AV1 Will Play a Big Role in WebRTC Streaming</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Sun, 01 Nov 2026 05:00:55 +0000</pubDate>
      <link>https://dev.to/red5/5-key-reasons-av1-will-play-a-big-role-in-webrtc-streaming-44hp</link>
      <guid>https://dev.to/red5/5-key-reasons-av1-will-play-a-big-role-in-webrtc-streaming-44hp</guid>
      <description>&lt;p&gt;In this blog, you will learn why &lt;a href="https://www.red5.net/av1/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;AV1&lt;/a&gt; is getting closer to practical use in &lt;a href="https://www.red5.net/webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;-based real-time interactive streaming. We cover rapid progress in live AV1 encoding on GPUs and ASICs, widening browser and device support, and new WebRTC compatibility work like SVC and RTP payload formats. You will also see how Red5 Pro’s &lt;a href="https://www.red5.net/blog/introducing-xdn-experience-delivery-network/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;XDN&lt;/a&gt; and LCEVC can lower compute costs and expand device reach as AV1 adoption accelerates.&lt;/p&gt;

&lt;p&gt;Advances supporting the next-generation AV1 codec have intensified over the past year, adding new urgency to the question of when the technology might become useful in WebRTC-based real-time interactive streaming applications.&lt;/p&gt;

&lt;p&gt;There’s no question live video encoding supported by AV1 would benefit real-time streaming every bit as much as it stands to benefit traditional HTTP streaming. The codec achieves bitrate reductions in the range of 30%-40% compared to HEVC/&lt;a href="https://www.red5.net/h-265-hevc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;H.265&lt;/a&gt; and 60%-70% relative to AVC/&lt;a href="https://www.red5.net/h264/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;H.264&lt;/a&gt;. Moreover, AV1 is available royalty-free with major tech sector backing through the Alliance for Open Media (AOMedia), whose members include Amazon, AMD, Apple, Cisco, Google, Hulu, IBM, LG, Meta, Microsoft, Netflix, Nvidia, Intel, IBM, Samsung, and many other leading players.&lt;/p&gt;

&lt;p&gt;But the amount of computing power it takes to run the encoding and decoding processes has been a major impediment to AV1 adoption, especially when it comes to encoding at live video frame rates. As demonstrated in countless tests, there’s been no practical way to use AV1 to encode video in real time except at very low levels of resolution. For example, &lt;a href="https://blog.cloudflare.com/av1-cloudflare-stream-beta/" rel="noopener noreferrer"&gt;a series of recent tests&lt;/a&gt; conducted by cloud CDN and compute platform operator Cloudflare found that even if all 48 cores of the top-line AMD EPYC 7642 CPU processor were used to encode a 4K clip commonly used in such testing, it would take 43 seconds to encode two seconds.&lt;/p&gt;

&lt;p&gt;But the perspective on the possibilities is shifting rapidly. And we at Red5 Pro are paying close attention to developments.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;1. AV1 Live Encoding Is Closer than Ever to Commercial Viability&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In 2021, Google released its desktop Chrome 90 browser with an AV1 encoder optimized for video conferencing with WebRTC. The encoder is targeted to two- to four-core CPUs for 2 Mbps transmission of 720p video at 30fps. This points to the fact that encoding AV1 for low bit-rate transmissions at sub-1080p levels is now doable on most PCs, which means the codec can be widely used to get decent-quality video over low-bandwidth mobile links that are the sole means of internet access in many parts of the world.&lt;/p&gt;

&lt;p&gt;Cisco took another step in this direction in 2021 on the fringes of its Webex video conferencing service. The company now gives users the option to turn on live AV1 encoding to improve the quality of shared displays of video clips during conference calls.&lt;/p&gt;

&lt;p&gt;Anyone on such a call with a device capable of decoding a low-bitrate AV1 stream will see the clip with much greater clarity. &lt;a href="https://blog.webex.com/engineering/the-av1-video-codec-comes-to-webex/" rel="noopener noreferrer"&gt;Cisco said&lt;/a&gt; it expects to expand the use of AV1 on Webex over time but had not announced any further steps as of YE 2022.&lt;/p&gt;

&lt;p&gt;A much more dramatic sign of progress on the AV1 encoding front came in late 2022 with the introduction of powerful new AV1-enabled graphics engines by Intel, AMD, and Nvidia. As of this writing, for the first time, live AV1 encoding in fast-action gameplay can be executed by some versions of Intel’s Arc Alchemist and Nvidia’s RTX 4000 series running on gaming cards, which became commercially available in October. AMD released its far less expensive RX 7000 platform in early 2023 with no lofty claims for live AV1 encoding. Even so, early comparisons of the three tech companies’ latest advances, like&lt;a href="https://www.pcworld.com/article/1434166/amd-rdna-3-radeon-rx-7900-xtx-content-creation-review.html" rel="noopener noreferrer"&gt; this one reported by PC World&lt;/a&gt;, found them more or less on par with one another when it came to AV1 encoding of content for recording and archival usage.&lt;/p&gt;

&lt;p&gt;It’s clear the AV1 live streaming barrier has been broken for gamers who want to shell out $1,500 or so to purchase the Intel or Nvidia gaming cards now on sale from multiple vendors. For example, &lt;a href="https://www.pcworld.com/article/827992/tested-intel-arc-av1-video-encoder-vs-nvidia-amd.html" rel="noopener noreferrer"&gt;testing of live video encoding with Intel Arc’s AV1 encoder&lt;/a&gt; against leading H.264 GPU encoders, as reported by PC World, found that when set to encode HD 1080p video at 3.5 Mbps, the quality of the video is superior to the output of H.264 encoders delivering the content at nearly twice that bitrate.&lt;/p&gt;

&lt;p&gt;Of course, GPU cards significantly outperform encoders running on CPU cores or CPU cores enhanced with GPU acceleration, which remain the primary encoding engines in OTT streaming services. But these latest GPU platform advances point to the likelihood that the densification and architectural advances achieved with gaming encoders will be adopted in succeeding generations of hybrid CPU/GPU processors.&lt;/p&gt;

&lt;p&gt;Another hardware advance signaling a role for live AV1 encoding occurred at the 2022 IBC trade show in Amsterdam, where RealSprint, the Swedish company operating the Vindral CDN service, revealed it would be introducing AV1 live encoding on its platform using ASIC (application-specific integrated circuit) hardware technology from NETINT Technologies. NETINT’s low-latency 4K AV1 encoder harbingers the emergence of ASICs as a potential game changer in advanced codec operations, according to NETINT COO Alex Liu, &lt;a href="https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=154844" rel="noopener noreferrer"&gt;as quoted by Streaming Media&lt;/a&gt;. “[These applications] can only be met with ASIC hardware encoding,” Liu said.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;2. Browser, Player Support for AV1 Decoding Is Gaining Wider Traction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Meanwhile, on the decoding side, there’s been a surge in browser and app support for AV1 software decoding on high-power devices. For now, this means that entities streaming on-demand content can use AV1 encoding with high confidence that a growing share of users will be able to take advantage of the bandwidth savings, which are beneficial to distributors as well as receivers.&lt;/p&gt;

&lt;p&gt;The Google-backed Chrome browser and apps based on Android 10 or later can support software-based AV1 decoding on any device with enough processing power to accommodate the codec. Firefox, too, supports AV1, as does the Edge browser when used on PCs running Windows 10 or later.&lt;/p&gt;

&lt;p&gt;Apple’s Safari browser and iOS operating system are holdouts, but it’s generally assumed that Apple, as a member of AOMedia, will fall in line at some point. Notably, the AVPlayer API incorporated with iOS and tvOS now offers optional support for AV1, meaning any app providers who choose to use the player can deliver AV1-encoded content to most iPhones and all TVs connected to the Apple TV module.&lt;/p&gt;

&lt;p&gt;It’s important to note that browser and OS support for AV1 isn’t essential in the case of apps that incorporate support for the &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;codec&lt;/a&gt; in their encoding and player software decoding mechanisms as long as targeted devices have the CPU or CPU with hardware acceleration resources to support decoding. Meta, for example, which has bypassed the inclusion of HEVC with its &lt;a href="https://engineering.fb.com/2023/02/21/video-engineering/av1-codec-facebook-instagram-reels/" rel="noopener noreferrer"&gt;Facebook and Instagram Reels video apps&lt;/a&gt; in favor of using AV1, is finding more iPhones than Android mobile devices have enough hardware processing power to handle the codec.&lt;/p&gt;

&lt;p&gt;Citing a talk given by Meta software engineer Ryan Lei at the company’s &lt;a href="https://atscaleconference.com/events/video-scale-fall-2022/" rel="noopener noreferrer"&gt;Video @Scale Fall 2022 conference&lt;/a&gt;, the NETINT blog post reported Meta uses H.264, VP9, and AV1 to encode Reels and that it streams content using the most efficient encodes supported by targeted devices. Meta has found VP9 produces a 48% bitrate savings compared to H.264, while AV1 cuts the H.264 bitrate by 65%. Meta chose AV1 over HEVC based on tests that showed AV1 delivered a 30% improvement over HEVC.&lt;/p&gt;

&lt;p&gt;Netflix, too, has found it makes sense to take advantage of AV1. It began using the codec for streaming its content to Android mobile devices in 2020 and, a year later, said it would use AV1 to stream content to any smart TVs that could support the decoding. At the time, &lt;a href="https://www.flatpanelshd.com/news.php?subaction=showfull&amp;amp;id=1636526012" rel="noopener noreferrer"&gt;Netflix said&lt;/a&gt; these included a wide range of Samsung TVs dating from 2020, as well as any TV connected to PlayStation 4 Pro, Amazon Fire TV running Fire OS 7 or above, and Android TV devices running Android OS 10 or above.&lt;/p&gt;

&lt;p&gt;Netflix recently issued stats attesting to the benefits to be gained even at this early stage through more advanced alternatives to H.264 encoding. The streaming giant reported analysis of its output during one month in early 2022 showed that its contribution to global traffic volume would have been 24% higher without its reliance on per-title optimized HEVC and AV1 encoding. The company said these advances, along with its CDN-related Open Connect Program, had contributed to over $1 billion in savings for ISPs in 2021.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;3. Device Hardware Support for AV1 Decoding Is Picking Up Steam&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;These developments are moving in tandem with ever more support for AV1 among device OEMs. Some of this support is in response to pressure from Google, which in 2021 began requiring AV1 decoding support in all new Android TV and Google TV smart TVs, media dongles, and set-top boxes. In addition, AV1 hardware decoding is built into the latest Chromecast TV streaming adaptor and the Tensor chipsets powering the latest Google Pixel smartphones.&lt;/p&gt;

&lt;p&gt;Beyond the Google orbit, the push from Netflix, AOMedia member Hulu, Meta, and other major players looking to exploit AV1 is persuading chipmakers and OEMs to incorporate direct support for AV1 decoding in their hardware processing, thereby eliminating the need for software decoders in app-based players.&lt;/p&gt;

&lt;p&gt;Hardware-accelerated AV1 decoding is fast becoming a ubiquitous feature of new smartphones regardless of the relationship to Android. AV1 decoding is already built into the &lt;a href="https://semiconductor.samsung.com/processor/mobile-processor/exynos-2200/" rel="noopener noreferrer"&gt;Samsung Exynos 2200&lt;/a&gt; and &lt;a href="https://www.mediatek.com/products/smartphones-2/dimensity-1000-series" rel="noopener noreferrer"&gt;MediaTek Dimensity 1000 SoC&lt;/a&gt; smartphone chipsets. And Qualcomm, by far the dominant microprocessor supplier for Android smartphones, has broken with its avoidance of hardware decoding support for AV1 &lt;a href="https://videocardz.com/press-release/qualcomm-announces-snapdragon-8-gen2-mobile-soc-supports-wifi-7-and-av1-8k60-decoding" rel="noopener noreferrer"&gt;with an announcement&lt;/a&gt; that its forthcoming Snapdragon 8 Gen 2 chipset will support AV1 playback for HD and UHD formats extending to HDR (high dynamic range)-enhanced 8K.&lt;/p&gt;

&lt;p&gt;As for smart TVs, beyond the Samsung models cited by Netflix and those like Sony’s Google TV model that have built-in hardware decoding support for AV1, new models from LG, Sony, Philips, TLC, and probably others are running on chipsets that can accommodate AV1 processing. But none of these brands have spelled out what, if any, steps they’ve taken to create the algorithmic paths in their firmware that would enable decoding without the aid of player software.&lt;/p&gt;

&lt;p&gt;This may be the next shoe to drop as AV1 momentum builds. For example, LG, acknowledging its latest models have the horsepower to support AV1 and many other “smarter features,” &lt;a href="https://www.businesswire.com/news/home/20220308005327/en/LG-Electronics-Joins-the-Alliance-for-Open-Media" rel="noopener noreferrer"&gt;recently announced&lt;/a&gt; it had joined AOMedia “to work collaboratively to further the development and adoption of AV1-enabled innovative online video streaming solutions.”&lt;/p&gt;

&lt;p&gt;Getting this right at the core hardware level isn’t easy. While LG had previously issued documentation for developers claiming support for AV1 on UHD TV sets running WebOS 5.0 or above, testing performed by Bitmovin in conjunction with its October AV1 report found that some of those LG models couldn’t handle AV1 content. With this new commitment to the codec, that’s likely to change.&lt;/p&gt;

&lt;p&gt;OEMs’ reluctance to expend more energy on AV1 support likely has to do with the fact that, until recently, the codec profiles hadn’t clearly spelled out support for HDR processing. This has been rectified with documentation clarifying how to use HDR 10 and 10+ with AV1, with work on Dolby Vision still in progress, according to Netflix senior research scientist Andrey Norkin. &lt;a href="https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=155130" rel="noopener noreferrer"&gt;As reported in September by Streaming Media&lt;/a&gt;, Norkin said Netflix, which uses HDR with all its original content, has begun testing how AV1-encoded HDR video performs in playback with players that have been tweaked to support HDR.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;4. WebRTC &amp;amp; AV1 Are More Compatible than Ever&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Clearly, AV1 has a strong toehold in the marketplace with the potential to burst into the mainstream once live video encoding becomes practical. Fortunately, whenever that happens, putting AV1 to use with interactive real-time streaming over WebRTC will be a fairly straightforward process, thanks to preparations for that eventuality that are already or close to being baked into both standards.&lt;/p&gt;

&lt;p&gt;The two protocols are intrinsically compatible, as noted two years ago by Bernard Aboba, chief architect at Microsoft and co-chair of W3C WebRTC and IETF Web Transport working groups. In an &lt;a href="https://webrtchacks.com/webrtc-today-tomorrow-bernard-aboba-qa/" rel="noopener noreferrer"&gt;interview posted on the webrtcHacks site&lt;/a&gt;, Aboba said, “AV1 doesn’t require any changes to WebRTC PeerConnections per se….I think of it as the next in the lineage of VP8 [and] VP9….It has some H.264 kind of MAL (Multimedia Adaptation Layer) unit semantics, so it’s a little bit like a cross between H.264 and VP9.”&lt;/p&gt;

&lt;p&gt;But he noted there were some important steps that needed to be taken in both development arenas to achieve smooth interoperability between AV1 and WebRTC. Since then, there’s been significant progress in this direction.&lt;/p&gt;

&lt;p&gt;For example, it’s important that WebRTC be able to exploit Scalable Video Coding (SVC), which enables the generation of multiple content resolutions from a single encoder as a cost-effective alternative to server-side &lt;a href="https://www.red5.net/blog/what-is-transcoding/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;transcoding&lt;/a&gt; used with adaptive bitrate (ABR) streaming. AV1 is the first codec to incorporate SVC by default, and now completion of the draft &lt;a href="https://aomediacodec.github.io/av1-rtp-spec/" rel="noopener noreferrer"&gt;Real-Time Protocol (RTP) Payload Format for AV1&lt;/a&gt; specification within AOMedia has enabled AV1 SVC to be executed with WebRTC, which operates on RTP. In August 2022, WC3 issued &lt;a href="https://www.w3.org/TR/webrtc-svc/" rel="noopener noreferrer"&gt;SVC Extension for WebRTC&lt;/a&gt; as a draft specification spelling out the use of SVC with any type of codec used with WebRTC.&lt;/p&gt;

&lt;p&gt;Another step toward compatibility involved aligning AV1 and WebRTC approaches to end-to-end security, which has been accomplished. Without going into technical details, key steps in this process have been the release of the RTP Payload Format for AV1 and the adoption of the IETF’s SFrame specification with the security intrinsic to WebRTC.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;5. Red5 Pro Is Poised to Deliver Superior Results when Live AV1 Becomes Viable&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;So, now, the use of AV1 with &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;-based real-time interactive streaming (RTIS) platforms, including Red5 Pro’s XDN, primarily depends on when encoding support at high video profiles becomes practical. While, as noted above, standard-issue CPUs can support AV1 encoding with low-resolution video, which is helpful in the video conferencing business, XDN architecture is meant to provide support for scaling RTIS to an unlimited number of end users with sub-400ms latencies over any distance at levels of video quality common to live-streamed content.&lt;/p&gt;

&lt;p&gt;Red5 Pro will be moving ahead with support for AV1 whenever it makes sense to put the codec to use on our platform. Judging by all the progress we’ve seen to date, those final steps are likely to be taken sooner than later.&lt;/p&gt;

&lt;p&gt;Here it’s important to note that when that happens, XDN users will have the option to exploit much greater encoding efficiencies with AV1 than they’ll find in other real-time streaming scenarios. This results from the integration of XDN with the performance-enhancing capabilities of a software codec processing layer defined by the new MPEG-5 Low Complexity Enhancement Video Coding (LCEVC) standard. &lt;a href="https://ottverse.com/red5-pro-adds-v-novas-lcevc-to-its-real-time-latency-platform-to-enhance-quality-in-next-generation-interactive-applications/" rel="noopener noreferrer"&gt;In late 2021&lt;/a&gt; XDN became the first RTIS platform to include support for LCEVC in its SDKs.&lt;/p&gt;

&lt;p&gt;As validated &lt;a href="https://www.v-net.tv/2022/11/07/new-study-shows-mpeg-5-lcevc-improves-video-quality-for-vod-applications/" rel="noopener noreferrer"&gt;in recent tests conducted by Meta and Intel,&lt;/a&gt; LCEVC enhancements used with AV1 encoding cuts computations by about 40% with no loss in quality. And LCEVC was shown to broaden the set of mobile devices capable of playing back full HD AV1 content while extending battery life by 50% compared to non-enhanced streams using state-of-the-art AV1 software decoders.&lt;/p&gt;

&lt;p&gt;Critically, there’s no disruption to connectivity with devices that don’t support LCEVC. Any devices not equipped with the lightweight LCEVC player will interact with the LCEVC-enhanced AV1 encoding at the native AV1 level.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/blog/9-reasons-why-lcevc-circumvents-the-codec-wars/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;As described in this blog&lt;/a&gt;, LCEVC has been proven to offer similar benefits with all codecs, including the ability to significantly reduce bitrates at a given level of quality, if that is the goal. In such cases, compression gains of about 40% are achieved with no increase in computational complexity, which, for example, is tantamount to reaching HEVC levels of compression with H.264 codecs.&lt;/p&gt;

&lt;p&gt;As we await further developments in accelerated CPU support for live-stream AV1 encoding, we are also mindful that HEVC, with its substantial gains over H.264, has now reached mass market penetration at the hardware level in smartphones, smart TVs, and other devices. Be sure to stay tuned for further developments on this front, as well.&lt;/p&gt;

&lt;p&gt;With video streaming moving into a new era of multi-codec options extending compression efficiencies far beyond the H.264 baseline, we’re just at the beginning stages of the advancements that will be essential to meeting the challenges ahead. Graphic realism in multiplayer gaming, fully immersive social engagement in virtual reality, 8K video entertainment, and the need for superior quality video in every use case where RTIS is in play will require aggressive but cost-effective use of the best compression technology available at every step of the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;AV1 is moving from promise to practical, but it is not a turnkey replacement for real-time today. Hardware, browser, and player support are expanding while GPU and ASIC advances reduce the live-encoding compute barrier, and WebRTC compatibility via SVC and RTP payload work is in place. Expect multi-codec workflows for now; Red5 Pro’s XDN will add AV1 where it makes sense and use LCEVC to cut compute and extend device reach. If you want to see how &lt;a href="https://www.red5.net/blog/av1-vs-vp9-vs-vp8-comparison-for-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;AV1 compares with VP8 and VP9&lt;/a&gt;, or &lt;a href="https://www.red5.net/blog/av1-vs-h264/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;how the AV1 codec compares to H.264&lt;/a&gt; and &lt;a href="https://www.red5.net/blog/av1-vs-h265/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;to H.265&lt;/a&gt;, or how &lt;a href="https://www.red5.net/blog/h264-vs-h265-vp9/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Key%20Reasons%20AV1%20Will%20Play%20a%20Big%20Role%20in%20WebRTC%20Streaming" rel="noopener noreferrer"&gt;H.264 compares with H.265 and VP8&lt;/a&gt;, read our next blogs.  &lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Red5’s Predictions for the Live Streaming Industry in 2023</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Sat, 31 Oct 2026 05:00:54 +0000</pubDate>
      <link>https://dev.to/red5/red5s-predictions-for-the-live-streaming-industry-in-2023-14jk</link>
      <guid>https://dev.to/red5/red5s-predictions-for-the-live-streaming-industry-in-2023-14jk</guid>
      <description>&lt;p&gt;Predictions for the live streaming industry in 2023 reflect how quickly real-time video continues to evolve across technology, business models, and user expectations. In this blog you will learn how live streaming infrastructure is changing, which trends will shape latency, scalability, and what these shifts mean for companies building or investing in real-time video solutions.&lt;/p&gt;

&lt;p&gt;As 2022 comes to an end, we thought it would be fun to reflect back on the year, as well as to look forward at what’s on the horizon. Red5 CEO &lt;a href="https://www.red5.net/author/chris-allen/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;Chris Allen&lt;/a&gt; and CTO &lt;a href="https://www.red5.net/author/mark-pace/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;Mark Pace&lt;/a&gt; sat down to chat highlights from the past year and predictions for 2023. Here are the key take-aways from the discussion:&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking Back at 2022
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Attending lots of conventions:&lt;/strong&gt; After the lockdown and travel restrictions, it was fun to finally see people in person and reconnect. It was also great to visit some clients on-site and get a better sense of their needs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT and the rise of AI:&lt;/strong&gt; AI was hot this year. It was writing and coding for us (&lt;a href="https://openai.com/blog/chatgpt/" rel="noopener noreferrer"&gt;ChatGPT&lt;/a&gt;), creating art (&lt;a href="https://openai.com/dall-e-2/" rel="noopener noreferrer"&gt;DALL·E&lt;/a&gt;, &lt;a href="https://deepdreamgenerator.com/" rel="noopener noreferrer"&gt;Deep Dream Generator&lt;/a&gt;), and even tricking us with&lt;a href="https://arstechnica.com/information-technology/2022/12/thanks-to-ai-its-probably-time-to-take-your-photos-off-the-internet/" rel="noopener noreferrer"&gt; deepfake imagery&lt;/a&gt;. It will be interesting to see how this trend disrupts (for better or worse) the worlds of education, art, and creativity in general. On an aside, we had fairly good success with generating AI-generated technical documentation. Where will this lead us? Will the robots take over? Do you want to play a game?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live video streaming sports in real time has come into its own&lt;/strong&gt;: It’s been a long journey, but we’re seeing forward movement in this realm. Companies are starting to embrace the technology and see the value that it can provide for their customers. We’re excited to see how this plays out in the realm of &lt;a href="https://www.red5.net/solutions/sports-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;sports streaming&lt;/a&gt; and &lt;a href="https://www.red5.net/solutions/live-sports-production/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;broadcasting&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/sports-betting/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;online betting&lt;/a&gt; and &lt;a href="https://www.red5.net/blog/online-gambling-success/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;micro-betting&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Red5 Mixer and Watch Party Technology:&lt;/strong&gt; &lt;a href="https://www.red5pro.com/blog/how-to-build-a-virtual-watch-party/" rel="noopener noreferrer"&gt;The Watch Party&lt;/a&gt; has created a lot of “aha” moments as people start to see some of the possibilities out there. But the best part may be that this open-source option is out there for people to build on and innovate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crypto in Flames:&lt;/strong&gt; We knew there were some unsavory players out there who were having a negative impact in the field, but we certainly didn’t predict the &lt;a href="https://www.cnn.com/2022/11/18/business/ftx-crypto-downfall-explained/index.html" rel="noopener noreferrer"&gt;fiery glory of the 2022 crypto meltdown&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Looking Forward to 2023
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;More Codecs&lt;/strong&gt;: It may not sound too sexy, but we’re excited for more &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;codecs&lt;/a&gt; bringing higher resolution and less bandwidth to the table. It looks like 2023 will also bring wider adoption of &lt;a href="https://www.red5.net/h-265-hevc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;H.265&lt;/a&gt; and &lt;a href="https://www.red5.net/av1/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;AV1&lt;/a&gt;, as devices become more powerful. &lt;strong&gt;Standardization around WHIP and WHEP&lt;/strong&gt;: &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; is the gold standard for &lt;a href="https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;ultra-low latency&lt;/a&gt; live video streaming, so the standardization of &lt;a href="https://www.red5.net/whip-and-whep/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;WHIP and WHEP&lt;/a&gt; is something the entire industry is looking forward to. We’ll see easier-to-use encoders and faster connection times. We’ll also enjoy greater interoperability between platforms and less debugging. Learn more about these two protocols from &lt;a href="https://www.red5.net/blog/whip-and-whep-creating-simpler-faster-webrtc-connections/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;this blog&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bantha Livestream&lt;/strong&gt;: Join us live for mixed drinks, chats with industry leaders, new &lt;a href="https://www.red5.net/products/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;products&lt;/a&gt; and &lt;a href="https://www.red5.net/solutions/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;use cases&lt;/a&gt;, and thoughts on the state of the industry. We’ll be using &lt;a href="https://www.red5.net/open-source-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;Red5 open-source software&lt;/a&gt; that we’ve customized to power the experience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An inflection point in social media&lt;/strong&gt;: It’s still unclear what it will look like, but perhaps we’ll see open standards become dominant with options like &lt;a href="https://www.w3.org/TR/activitypub/" rel="noopener noreferrer"&gt;ActivityPub&lt;/a&gt;, which is used by &lt;a href="https://mastodon.social/explore" rel="noopener noreferrer"&gt;Mastadon&lt;/a&gt;. If social media can become more like email or standard web pages where they are fully interoperable between various platforms, we could move away from social media being controlled and owned by a handful of monolithic providers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shift in real-time interactive streaming (RTIS) providers&lt;/strong&gt;: &lt;a href="https://www.red5.net/whitepapers/how-to-choose-the-right-real-time-streaming-platform-supplier/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;RTIS&lt;/a&gt; is seeing a lot of movement right now. There is a lot of demand for on-premise, self-hosted solutions, but many still want a turnkey hosted solution, as well. &lt;a href="https://www.red5.net/red5-pro/low-latency-streaming-software/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt; will be introducing a hosted solution, making it easier for businesses who don’t want to deploy it themselves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GovCloud&lt;/strong&gt;: We’ll see more &lt;a href="https://www.red5.net/case-studies/connect-offline-secured-network-systems-to-the-gov-cloud-for-government-real-time-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;government cloud solutions&lt;/a&gt; and standards focus on live real-time video, creating more potential for &lt;a href="https://www.red5.net/solutions/air-gapped-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;high-security deployments&lt;/a&gt;. These run on high-level government clearance with high-security screening. In terms of encrypted &lt;a href="https://www.red5.net/webrtc-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;WebRTC video&lt;/a&gt;, we have pretty sophisticated systems to secure the streams and connections in and out of them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edge computing is starting to deliver on its promise&lt;/strong&gt;: Edge computing isn’t anything new, but it’s coming into its own with &lt;a href="https://www.red5.net/blog/perfect-5g-in-venue-experiences/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;5G&lt;/a&gt; getting to a point where it’s more widely available. We’re excited to see more and more Edge computing use cases, such as in &lt;a href="https://www.red5.net/solutions/stadium-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;stadiums&lt;/a&gt;, at sports &lt;a href="https://www.red5.net/case-studies/red5-cloud-zixi-real-time-monitoring-and-streaming-solution-for-live-event-production/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;events&lt;/a&gt;, etc.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sports betting and live sports engagement:&lt;/strong&gt; As mentioned above, live streaming is taking off in the sports realm. This has increased efforts to &lt;a href="https://www.red5.net/blog/sports-betting-industry-trends-2025/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;legalize online sports betting&lt;/a&gt; around the world. We know &lt;a href="https://www.red5.net/solutions/video-streaming-for-casino-igaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;gambling&lt;/a&gt; is always popular, but we also think that sometimes it’s more about the user experience than the transaction. This might lead to micro-betting platforms that behave more like a trivia game than an actual financial wager. And, with technology like the Red5 Pro &lt;a href="https://www.red5.net/truetime/watchparty-for-fans/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=Red5%E2%80%99s%20Predictions%20for%20the%20Live%20Streaming%20Industry%20in%202023" rel="noopener noreferrer"&gt;watch party&lt;/a&gt;, we could see fantasy football league apps, where friends watch a game with live league stats updating on-screen. Perhaps we’ll even see AI-generated highlight reels customized for your league players.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CDN:&lt;/strong&gt; With the implementation of &lt;a href="https://www.svta.org/working-group/open-caching/" rel="noopener noreferrer"&gt;open caching architecture&lt;/a&gt;, CDNs will become more localized and more efficient.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Red5 Pro in cloud marketplaces with cloud vendors&lt;/strong&gt;: We’ve launched in the &lt;a href="https://cloudmarketplace.oracle.com/marketplace/en%5FUS/listing/136040263" rel="noopener noreferrer"&gt;Oracle Marketplace&lt;/a&gt;, but we won’t stop there!&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Here at Red5 Pro, we never stand still. As we head into 2023, you can expect more innovations, including new open-source features like the watch party that you can take and make your own. With so many opportunities for new use cases, we hope you’ll hop on board. &lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to Set Up 4K Streaming At 60fps from Osprey Talon Encoder and Red5?</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Fri, 30 Oct 2026 05:00:53 +0000</pubDate>
      <link>https://dev.to/red5/how-to-set-up-4k-streaming-at-60fps-from-osprey-talon-encoder-and-red5-2e10</link>
      <guid>https://dev.to/red5/how-to-set-up-4k-streaming-at-60fps-from-osprey-talon-encoder-and-red5-2e10</guid>
      <description>&lt;p&gt;4K streaming is becoming increasingly popular in 2025 as more businesses prepare for higher-quality video demands. We’re happy to teach you how to set up 4K streaming with &lt;a href="https://www.red5.net/red5-pro/low-latency-streaming-software/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt; or &lt;a href="https://www.red5.net/red5-cloud-low-latency-live-streaming-platform/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Red5 Cloud&lt;/a&gt; and the Osprey Talon encoder using our step-by-step tutorial. &lt;/p&gt;

&lt;h2&gt;
  
  
  Real-Time Interactive Streaming in 4K
&lt;/h2&gt;

&lt;p&gt;If 4K is the standard in broadcast, you might be wondering why it’s so challenging to stream. Just as the broadcast industry had to go through major upgrades to support 4K, the streaming industry does as well. Red5 also has the need for interactive &lt;a href="https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;real-time latencies&lt;/a&gt;, adding further computational complications.&lt;/p&gt;

&lt;p&gt;In order to get that amazing 4K picture, you need to deliver four times as many bits to the screen as with 1080p. And then you have to double that rate once more to stream at 60 frames per second. There are newer codecs to help with this, but, until more devices support &lt;a href="https://www.red5.net/av1/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;AV1&lt;/a&gt; hardware acceleration or the industry fully supports &lt;a href="https://www.red5.net/h-265-hevc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;H.265&lt;/a&gt; for &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;, we are stuck streaming with older protocols like &lt;a href="https://www.red5.net/h264/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;H.264&lt;/a&gt;. To learn how the &lt;a href="https://www.red5.net/blog/av1-vs-h265/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;AV1 codec&lt;/a&gt; compares to H.264, read our next blog.&lt;/p&gt;

&lt;p&gt;The first problem when heading into this realm is how to generate a 4K stream to send to your ingest. Enter the Osprey Talon encoder. It features the AMD Xilinx Ultrascale+ Architecture at its core, giving the unit the ability to stream 4K at 60fps.&lt;/p&gt;

&lt;h2&gt;
  
  
  About the Osprey Talon Encoder
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/partners/osprey/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Osprey Video&lt;/a&gt; is a global manufacturer of hardware encoders that perform a critical yet understated task of ingesting RAW video, converting that into a compressed digital format and serving as the on-ramp to video delivery and archiving platforms. They are one of our hardware &lt;a href="https://www.red5.net/partners/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;partners&lt;/a&gt;. You can read more about this company in &lt;a href="https://www.red5.net/case-studies/red5-and-osprey-encoders-deliver-4k-streaming-with-sub-100-ms-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;this study.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.ospreyvideo.com/talon-encoders" rel="noopener noreferrer"&gt;Osprey Talon &lt;/a&gt;encoder comes in two form factors, one including 12G-SDI in/out and HDMI and another with a single 12G-SDI in. Both feature the same chipset. Via this chip, Osprey Video was able to attain its goal of achieving the lowest latency while not sacrificing quality. This allows the Talon to encode up to 4K 60fps in 10-bit HDR (4:2:2) video.&lt;/p&gt;

&lt;p&gt;Output transports include &lt;a href="https://www.red5.net/blog/what-is-rtmp-streaming-protocol/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;RTMP&lt;/a&gt;(S), MPEG-TS uni and multicast over UDP, RTP, &lt;a href="https://www.red5.net/zixi-protocol/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Zixi&lt;/a&gt;, &lt;a href="https://www.red5.net/srt-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;SRT&lt;/a&gt;, and &lt;a href="https://www.red5.net/whip-and-whep/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;WHIP&lt;/a&gt;. For recording purposes, the Talon can also save to an MP4 while delivering a stream. The Osprey unit supports AAC and &lt;a href="https://www.red5.net/opus-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;OPUS&lt;/a&gt; audio in both 44.1 and 48KHz sample rates. Embedded 708 captions are supported, as well as the ability to send KLV metadata. The units themselves are essentially heat sinks, allowing the Talon to operate without a fan and the accompanying noise.&lt;/p&gt;

&lt;p&gt;In addition to supporting H.264, the Osprey units also support H.265. Unfortunately, H.265 is not going to be a viable &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;codec&lt;/a&gt; for use with WebRTC, so we will continue to focus on H.264 until more client device hardware supports AV1.&lt;/p&gt;

&lt;p&gt;A web interface is provided to configure the Talon encoder. It provides quick access to the configuration of the encoder as well as the configuration of its output.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Does 4K Video Streaming with the Osprey Talon Encoder and Red5 Work?
&lt;/h2&gt;

&lt;p&gt;To test the Talon, we needed a high-quality 4K 60fps stream. To add to the fun, we decided to create a streamed game experience using Forza Horizon 5 from an Xbox Series X as our source. The Talon encoder sent the Xbox’s 4K 60fps stream to a geographically close datacenter running a Red5 Pro cluster. Because there is no channel for controlling the game via the stream at this juncture, the controller was not streamed and was connected locally to the Xbox.&lt;/p&gt;

&lt;p&gt;Diagram illustrating how Osprey Talon encoder sends 4k 60fps video stream from Xbox to Red5 Pro. &lt;/p&gt;

&lt;p&gt;With the equipment configured as shown in the diagram, the stream quality was optimized to allow for driving. The Xbox was connected via HDMI to the Talon encoder. This encoded the 4K stream into H.264 and sent it to the Red5 Pro cluster using SRT. The stream passed from Origin node to Edge node in the cluster and then made its way back to the PC where the game stream was displayed to the player.&lt;/p&gt;

&lt;h4&gt;
  
  
  Using RTMP
&lt;/h4&gt;

&lt;p&gt;Here we cover RTMP/S via Talon&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Additional settings are all the same as with WHIP above, except for audio where it will be AAC instead of Opus.&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Channels&lt;/strong&gt;, select &lt;strong&gt;Channel 1&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select “RTMP/RTMPS” for &lt;strong&gt;Protocol&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Destination&lt;/strong&gt; will be set to your RTMP end-point location; as an example: rtmp://myserver.red5pro.net/live.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stream key&lt;/strong&gt; is set as stream1.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Using SRT
&lt;/h4&gt;

&lt;p&gt;The SRT option allows either h.264 or h.265 for video encoding. Starting with h.264 here are the configurations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Channels&lt;/strong&gt;, select &lt;strong&gt;Channel 1&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select “TS over SRT” for &lt;strong&gt;Protocol&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SRT Mode&lt;/strong&gt; is to be “Caller”.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SRT Dest Address&lt;/strong&gt; will be set to your “Listener” end-point location; as an example: &lt;a href="http://myserver.red5pro.net" rel="noopener noreferrer"&gt;myserver.red5pro.net&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SRT Port&lt;/strong&gt; is 8000 in this example, it may need to be changed for your deployment.&lt;/li&gt;
&lt;li&gt;Select your &lt;strong&gt;Source&lt;/strong&gt; either SDI or HDMI.&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Output Resolution&lt;/strong&gt; = 3840×2160 (4K).&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Framerate&lt;/strong&gt; (30 fps or 60 fps depending on your workflow).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codec&lt;/strong&gt; is H264/AVC.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target Bitrate&lt;/strong&gt; 12000.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maximum Bitrate&lt;/strong&gt; 25000.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Encoding Profile&lt;/strong&gt; should be “Baseline”.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Verify Red5 Settings
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://account.red5.net/login?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Log into your Red5 Pro server&lt;/a&gt; (or &lt;a href="https://cloud.red5.net/login?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Red5 Cloud dashboard&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Make sure the live application is enabled and properly configured to ingest RTMP, WHIP, or SRT.&lt;/li&gt;
&lt;li&gt;Check firewall rules to ensure port 1935 (RTMP) or relevant 443 (HTTPS) port is open. In addition to any SRT ports configured, such as 8000.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  6. Start the 4K Stream
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;On Osprey Core, click &lt;strong&gt;Start Stream&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Monitor encoder health stats (bitrate, frame drops, etc.).&lt;/li&gt;
&lt;li&gt;On Red5 Pro, confirm the stream is being ingested (you can use the Red5 Pro web player, or connect via a player configured for your stream URL).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  7. Test Playback
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Open a WebRTC or HLS player pointing to your Red5 Pro or Red5 Cloud stream.&lt;/li&gt;
&lt;li&gt;Confirm video is delivered in 4K resolution and sync.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  8. Optimize for Quality and Latency
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Adjust encoder bitrate if you see buffering or quality drops.&lt;/li&gt;
&lt;li&gt;Use &lt;a href="https://www.red5.net/h-265-hevc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;&lt;strong&gt;H.265&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;/HEVC&lt;/strong&gt; for more efficient bandwidth usage if supported by your Red5 Pro setup. HEVC is only available on the Talon if SRT is used for output.&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;adaptive bitrate (ABR)&lt;/strong&gt; streaming in Red5 Pro if you expect varied end-user connections.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When optimizing a live stream for changing network conditions, it is also important to understand how available bandwidth and delivery delay interact; see our guide to &lt;a href="https://www.red5.net/blog/bandwidth-vs-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;bandwidth vs latency&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Red5 and Osprey Video About The Solution
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Our Talon 4K Encoder platform ingests 12G video and delivers reliable, high-quality, secure, low latency streams to Red5. Needs for ingesting video on the edge in true 4K with 10-bit color in multiple protocols are increasing daily. The Talon 4K’s small form factor, fanless operation, and intuitive UI make it simple for customers to address these needs and provide delivery for multiple applications.”&lt;/p&gt;

&lt;p&gt;– Scott Whitcomb, Chief Revenue Officer at Osprey Video&lt;/p&gt;

&lt;p&gt;The Osprey Talon encoder, when used with &lt;a href="https://www.red5.net/docs/red5-pro/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Set%20Up%204K%20Streaming%20At%2060fps%20from%20Osprey%20Talon%20Encoder%20and%20Red5%3F" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt;, expertly streams 4K 60fps at incredible low latency. The encoder is full-featured and easy to configure, while also exposing advanced settings with detailed control when needed. We’re excited to support it and the future products in that line.”&lt;/p&gt;

&lt;p&gt;– Mark Pace, Advisor, former CTO at Red5&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Red5, paired with the Osprey Video’s encoder, enables high-quality 4K 60fps live streaming with ultra-low latency. Supporting protocols like WHIP, RTMP, and SRT, it offers flexible configuration through a web interface and integrates easily with Red5 Pro or Red5 Cloud for real-time delivery. &lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to Unleash GStreamer for Low Latency Streaming with Red5?</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Thu, 29 Oct 2026 05:00:49 +0000</pubDate>
      <link>https://dev.to/red5/how-to-unleash-gstreamer-for-low-latency-streaming-with-red5-3m7g</link>
      <guid>https://dev.to/red5/how-to-unleash-gstreamer-for-low-latency-streaming-with-red5-3m7g</guid>
      <description>&lt;p&gt;The use of GStreamer for low latency streaming has been gaining momentum since 2022 as more developers build real-time and interactive video applications. GStreamer’s flexibility, plugin ecosystem, and cross platform support make it a strong choice for handling complex streaming workflows, but achieving true real-time performance comes with specific challenges.&lt;/p&gt;

&lt;p&gt;In this blog you will learn what GStreamer is, how it operates in low latency environments, why you should use it and for which use cases, how Red5’s XDN architecture enhances the GStreamer workflows for real-time streaming including multi-protocol streaming, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is GStreamer?
&lt;/h2&gt;

&lt;p&gt;GStreamer logo.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gstreamer.freedesktop.org/" rel="noopener noreferrer"&gt;GStreamer&lt;/a&gt; is an open-source framework provides vendors a common approach to offering commercial solutions as plugins that developers can bring into their service pipelines with a few mouse clicks. Plugin elements relating to operating systems, &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;codecs&lt;/a&gt;, streaming modes, editors, filters, feature functionalities, descriptive metadata, and much else can be mixed and matched to support just about any multimedia application at any point in the distribution chain, from video capture to device playout. You can learn more about from the &lt;a href="https://gstreamer.freedesktop.org/documentation/application-development/introduction/gstreamer.html?gi-language=c" rel="noopener noreferrer"&gt;official website&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why Should You Use GStreamer in Real-Time Streaming Environment?
&lt;/h2&gt;

&lt;p&gt;But there’s a serious challenge when it comes to live-streamed content. The elements guiding encoding, packaging, categorization, rendering, and other aspects of content operations on a per-stream basis must perform their tasks in precise frame-by-frame synchronization with the primary payload no matter how many users are involved.&lt;/p&gt;

&lt;p&gt;Efforts over the years that resulted in tight synchronization of elements used with payloads live-streamed over HTTP-based content delivery networks (CDNs) have been instrumental to expanding GStreamer adoption rates. The question now is whether the same will be true with real-time streaming platforms, which don’t rely on HTTP and where there’s no room for adding latency on streams traversing the GStreamer pipelines.&lt;/p&gt;

&lt;p&gt;As in traditional streaming, developers focused on &lt;a href="https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;real-time streaming&lt;/a&gt; can benefit from the fact that GStreamer makes it much easier to evolve use cases by transitioning from simple to complex pipeline workflows through a consistent, standardized approach to tapping plugins for elements essential to any given task. &lt;a href="https://www.collabora.com/news-and-blog/news-and-events/generate-mininal-gstreamer-build-tailored-to-your-needs.html" rel="noopener noreferrer"&gt;By one count&lt;/a&gt;, there are 230 plugins cataloged in over 30 GStreamer libraries offering in excess of 1,600 elements supporting a vast range of functionalities.&lt;/p&gt;

&lt;p&gt;The framework works with all major operating systems, including Linux, Windows, Android, Max OS X, iOS, and those based on Unix-derived platforms like Solaris and the Berkeley Software Distribution systems (BSDs). And it runs on 32- and 64-bit iterations of the leading hardware architectures, including x86, ARM, MIPS, SPARC, and PowerPC.&lt;/p&gt;

&lt;p&gt;These attributes have provided developers with a powerful environment for keeping pace with evolving needs in the one-way streaming market. The benefits will be even more important to developers as the nuances bearing on the formats, range of devices, feature enhancements, user data analysis and much else grow more complex in the real-time interactive streaming era.&lt;/p&gt;

&lt;h3&gt;
  
  
  In What Use Cases It Can Be Used
&lt;/h3&gt;

&lt;p&gt;As described in our recent white paper “&lt;a href="https://www.red5pro.com/xdn-whitepaper/" rel="noopener noreferrer"&gt;XDN Technology Ignites a New Future for Targeted Advertising and Much Else&lt;/a&gt;“, the emerging generation of real-time video use cases extends across all segments of society.&lt;/p&gt;

&lt;p&gt;In the consumer domain, they include the synchronization of shared real-time experiences with &lt;a href="https://www.red5.net/solutions/sports-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;live-streamed sports&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/broadcast-news/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;news&lt;/a&gt;, and other &lt;a href="https://www.red5.net/case-studies/red5-cloud-zixi-real-time-monitoring-and-streaming-solution-for-live-event-production/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;events&lt;/a&gt;, operations of e-commerce in all its permutations, and the vast realm of experiences tied to social networking, multiplayer gaming, and virtual and other versions of extended reality. An even greater variety of opportunities for developers can be found in the myriad ways enterprises, municipalities, medical professionals, educational institutions, the &lt;a href="https://www.red5.net/solutions/air-gapped-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;military&lt;/a&gt;, and other sectors are exploiting interactive video streamed in real time. The ability to leverage GStreamer in this environment is fundamental to everyone’s success.&lt;/p&gt;

&lt;p&gt;A good example of both the nuanced variability and the precise synchronicity developers must accommodate can be found in applications that rely on the use of &lt;strong&gt;time stamping with GPS readings&lt;/strong&gt;. An interactive real-time video streaming infrastructure with the scalability and performance parameters of the XDN platform can support frame-by-frame GPS accuracy in any use case that benefits from associating user location with interactive video engagement.&lt;/p&gt;

&lt;p&gt;Another real-time usage scenario for GStreamer has to do with the aforementioned &lt;strong&gt;collaboration between hardware suppliers and developers&lt;/strong&gt; in the creation and validation of approaches to exploiting next-generation microprocessor architectures. One such endeavor involves GStreamer innovator &lt;a href="https://fluendo.com/technologies/gstreamer/" rel="noopener noreferrer"&gt;Fluendo&lt;/a&gt;’s work with Intel in efforts to facilitate developers’ use of the chipmaker’s Deep Link hardware-acceleration platform. As &lt;a href="https://www.intel.co.id/content/dam/www/central-libraries/us/en/documents/unlocking-the-power-of-intel-deep-link-technology-p1.pdf" rel="noopener noreferrer"&gt;described by Intel&lt;/a&gt;, Deep Link technology uses dynamic power sharing and AI to harness CPU and GPU resources in devices to accelerate content creation, gaming, and productivity. Fluendo is developing GStreamer components to take advantage of Deep Link to enhance decoding performance in set-top boxes and other devices.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/blog/ai-in-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;AI&lt;/a&gt; is a major force behind many other GStreamer development activities in the real-time streaming domain. Indeed, considering the pervasive presence of AI across all realms of consumer, business, government, medical and scientific activity, this is where the developer field of dreams approaches infinity.&lt;/p&gt;

&lt;p&gt;A good illustration of how GStreamer is facilitating &lt;strong&gt;AI usage&lt;/strong&gt; can be found in &lt;a href="https://developer.nvidia.com/deepstream-sdk" rel="noopener noreferrer"&gt;NVIDIA’s DeepStream SDK&lt;/a&gt;. Using an extensible standard structure for metadata, DeepStream enables the application of AI in GStreamer pipelines through batch-level and user-specific metadata to generate business insights, improve processing efficiencies, optimize edge-to-cloud connectivity, and execute the many other Intelligent Video Analytics (IVA) tasks in the NVIDIA plugin portfolio.&lt;/p&gt;

&lt;p&gt;Through real-time connectivity, the SDK can bring multiple streams from different sources into play, NVIDIA notes. “Whether it’s at a traffic intersection to reduce vehicle congestion, health and safety monitoring at hospitals, surveying retail aisles for better customer satisfaction, sports analytics or at a manufacturing facility to detect component defects, every application demands reliable, real-time IVA,” the company says.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Red5’s XDN Architecture Enhances GStreamer for Low Latency Streaming
&lt;/h2&gt;

&lt;p&gt;There’s no doubt this can be done when it comes to activating GStreamer plugins with real-time streaming over &lt;a href="https://www.red5.net/red5-pro/low-latency-streaming-software/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt;’s Experience Delivery Network (&lt;a href="https://www.red5.net/blog/xdn-architecture-traditional-cdns-need-not-apply/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;XDN&lt;/a&gt;) platform. Red5 Pro has taken multiple steps to ensure GStreamer pipelines designed for &lt;a href="https://www.red5.net/solutions/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;real-time use cases&lt;/a&gt; can operate on XDN infrastructure at any scale with tight synchronization across all elements.&lt;/p&gt;

&lt;p&gt;This is vital not only to content flows targeted to end users. It’s also crucial to enabling plugin and applications developers to collaborate among themselves and with suppliers of core processors in order to fashion rapid responses to soaring demand for real-time solutions.&lt;/p&gt;

&lt;p&gt;In all cases, GStreamer plugin operations benefit from the same mechanisms that ensure real-time synchronization of everything else that’s delivered on the XDN platform. Any number of users from a handful to millions can be simultaneously engaged with complex component-synchronized streams registering end-to-end latencies no greater than 250ms-400ms over any distance in any direction.&lt;/p&gt;

&lt;p&gt;In some situations, latencies are reduced even farther, as when XDN infrastructure is instantiated in conjunction with AWS Wavelength facilities positioned with mobile carriers’ 5G onramps. See &lt;a href="https://dev.to/blog/aws-red5pro-bring-metaverse-to-life-5g/"&gt;this blog&lt;/a&gt; for a description of the unique use of real-time streaming facilities with &lt;a href="https://www.red5.net/partners/aws/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;AWS&lt;/a&gt; Wavelength resulting from a new &lt;a href="https://www.red5.net/blog/aws-isv-accelerate/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;partnership between AWS and Red5&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Beyond these baseline contributions to effective use of GStreamer in live-streaming scenarios, Red5 Pro is working with others in the GStreamer space to perform integrations and customize XDN processes for specific types of collaborative development projects. Presently, for example, there’s a spate of activity in the accelerated hardware domain where CPU/GPU suppliers are working with developers to formulate the best approaches to utilizing hardware acceleration, often in conjunction with hardware prototypes that are still undergoing refinements based on market needs.&lt;/p&gt;

&lt;p&gt;Whatever type of collaboration might be in play, XDN connectivity ensures everyone is participating in real time. We’ll take a deeper look at how the XDN platform facilitates the use of GStreamer in real-time streaming scenarios farther down. But, first, it might be useful to consider what the use of GStreamer in the real-time streaming environment means to the development community.&lt;/p&gt;

&lt;h2&gt;
  
  
  Addressing the Multi-Protocol Real-Time Streaming Imperative
&lt;/h2&gt;

&lt;p&gt;In such scenarios, the streams delivered from video cameras need to reach all targeted endpoints, be they machines or people, with no increase in latency. A large share of live-streamed video is delivered in real time from streamers embedded in or attached to cameras via either the &lt;a href="https://www.red5.net/rtsp-protocol/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;Real-Time Streaming Protocol&lt;/a&gt; (learn what it is &lt;a href="https://www.red5.net/blog/4-reasons-rtsp-streaming-is-still-relevant/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;here&lt;/a&gt;) or Secure Reliable Transport (&lt;a href="https://www.red5.net/srt-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;SRT&lt;/a&gt;), neither of which is supported in the major web browsers. Consequently, use cases are better served when the streams can be delivered to their targets over &lt;a href="https://www.red5.net/webrtc-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; (learn what it is &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;here&lt;/a&gt;), the real-time streaming platform that achieves broader reach by virtue of its support in all the major browsers.&lt;/p&gt;

&lt;p&gt;Automatic, latency-free transition of RTSP and SRT streams to transport over WebRTC is one of the important roles played by XDN architecture in opening the world of real-time video streaming applications to GStreamer developers. Developers can utilize APIs in the GStreamer framework to manually set up the conversion of RTSP streams to WebRTC streams.&lt;/p&gt;

&lt;p&gt;Moreover, developers pursuing this course would not benefit from the additional aspects of multi-protocol flexibility that come with reliance on XDN architecture. This flexibility stems from the fact that the platform uses the Real-Time Transport Protocol (RTP), which is the transport core for both WebRTC and RTSP, as the foundation for all streams delivered over XDN infrastructure.&lt;/p&gt;

&lt;p&gt;By retaining the RTSP and SRT formats, the XDN architecture ensures that the content is received by targeted clients that support the stream-originating protocol but not WebRTC. The same principle applies to video ingested from sources that employ &lt;a href="https://www.red5.net/blog/what-is-rtmp-streaming-protocol/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;Real-Time Messaging Protocol&lt;/a&gt; (RTMP) and MPEG-TS (Transport Protocol).&lt;/p&gt;

&lt;p&gt;In all cases, the automatic transition to WebRTC ensures the broadest possible reach through receptivity by all targeted devices that are compatible with at least one of the major browsers as well as devices without that browser support that are attuned to a given protocol used by the live-stream source. Moreover, in the rare instances when a targeted device doesn’t work with WebRTC or the originating protocol, the XDN platform streams the content over &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;HTTP Live Streaming&lt;/a&gt; (&lt;a href="https://www.red5.net/hls-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;HLS&lt;/a&gt;), which negates the real-time latency and multi-directional benefits but at least ensures no device is left out of the flow.&lt;/p&gt;

&lt;p&gt;Beyond this multi-protocol flexibility, multi-cloud scalability and persistent performance are hallmarks of XDN architecture that are essential to any real-time streaming applications executed on GStreamer pipelines. Hierarchies of automatically orchestrated &lt;a href="https://www.red5.net/blog/introducing-xdn-experience-delivery-network/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;XDN&lt;/a&gt; Origin, Relay, and Edge Nodes can be implemented in cross-cloud configurations by leveraging pre-integrations with major suppliers like AWS, &lt;a href="https://www.red5.net/partners/google-cloud-platform/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;Google Cloud&lt;/a&gt;, &lt;a href="https://www.red5.net/partners/azure/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;Microsoft Azure&lt;/a&gt;, and &lt;a href="https://www.red5.net/partners/digital-ocean/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Unleash%20GStreamer%20for%20Low%20Latency%20Streaming%20with%20Red5%3F" rel="noopener noreferrer"&gt;DigitalOcean,&lt;/a&gt; or through integrations with many other cloud platforms enabled by Red5 Pro’s use of the Terraform multi-cloud toolset.&lt;/p&gt;

&lt;p&gt;The XDN Stream Manager works in real time to orchestrate set-up configurations, load balancing, and traffic routing with fail-safe redundancy across all cloud instantiations. Automated scaling mechanisms enable real-time responses to fluctuations in traffic demand or the need to add new broadcasters and end users.&lt;/p&gt;

&lt;p&gt;XDN architecture also provides full support for the multi-profile transcodes used with ABR streaming without imposing the latencies and other impediments incurred with HTTP-based streaming. It does this by utilizing intelligent Edge Node interactions with client devices to deliver content in the profiles appropriate to each user. In addition, as described in this blog, Red5 Pro is leveraging Edge Node intelligence to facilitate next-generation gaming, XR, internet of things (IoT), and other applications that depend on CPU/GPU processing at the deepest edge locations to achieve maximum reductions in latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Customized Approaches to Optimizing XDN Support for GStreamer Development
&lt;/h2&gt;

&lt;p&gt;Adding to the benefits to GStreamer development stemming from these intrinsic capabilities, XDN architecture lends itself to customizations that can provide additional support for specific GStreamer projects. Notably, plugins associated with a given GStreamer pipeline can include elements that direct the use of XDN intelligence, servers, and other components to help execute applications.&lt;/p&gt;

&lt;p&gt;By leveraging GStreamer APIs designed to support the use of JavaScript-based elements available in GStreamer Java libraries, Red5 Pro and its partners can formulate XDN functions utilizing a Red5 Pro service that employs WebSockets to receive and act on data tags within live streams. With WebSocket support for connecting client- and server-side Java code in XDN operations, partners can create Java-based applications in GStreamer that provide business logic for real-time communications, data gathering, edge-based analytics, and much else. The XDN utilizes the WebRTC datachannel to transmit all GStreamer-related communications.&lt;/p&gt;

&lt;p&gt;Such capabilities have important implications for CPU/GPU suppliers who want to work with large communities of GStreamer developers to optimize the use of hardware for specific applications such as multiplayer gaming. Red5 Pro will be bringing some of these efforts to light in the months ahead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Clearly, GStreamer will be playing an ever-larger role in bringing the new era of real-time video streaming to life. The fact that XDN architecture supports tightly synchronized real-time streaming over multiple seamlessly interconnected protocols and clouds opens a realm of virtually unlimited possibilities in the use of GStreamer to embellish real-time video services and applications.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to Link Real-Time Live Streaming to Video-on-Demand</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Wed, 28 Oct 2026 05:00:49 +0000</pubDate>
      <link>https://dev.to/red5/how-to-link-real-time-live-streaming-to-video-on-demand-105g</link>
      <guid>https://dev.to/red5/how-to-link-real-time-live-streaming-to-video-on-demand-105g</guid>
      <description>&lt;p&gt;Providers of livestreamed video services have reached a paradoxical moment of truth in network evolution where they can’t make the crucial leap into the future without retaining an anchor in the past.&lt;/p&gt;

&lt;p&gt;As they implement new multidirectional streaming platforms to accommodate the changing dynamics in consumer engagement with live video, service providers must be able to rely on content delivery networks (CDNs) to support on-demand availability of their content. The question is, how can this be done without making an untenable tradeoff between performance and cost efficiency?&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-Time Interactivity with Livestreamed Video Requires New Infrastructure
&lt;/h2&gt;

&lt;p&gt;There’s no getting around the fact that the video streaming market can no longer operate with exclusive reliance on HTTP-based streaming over CDNs. These one-way infrastructures with their multi-second latencies and out-of-sync reception metrics are incapable of meeting the requirements of real-time video interactivity that have become entwined with livestreamed video.&lt;/p&gt;

&lt;p&gt;Globally,&lt;a href="https://www.broadbandtechreport.com/video/article/14036085/live-video-low-latency-to-dominate-cdn-traffic" rel="noopener noreferrer"&gt; as chronicled by Rethink Research&lt;/a&gt;, livestreamed video traffic volume is on track to surpass on-demand traffic in the months ahead. This coincides with demand for video-based real-time interactivity in the socialization of sports, esports, concerts, and other live-event viewing experiences.&lt;/p&gt;

&lt;p&gt;The marriage of live streaming and video interactivity is also occurring with online video gameplaying, virtual and other extended reality environments, livestream shopping, online gambling, and all-virtual or hybrid versions of virtual with in-person auctions. And the integration of live and interactive streaming is intrinsic to surging community engagement with user-generated content (UGC) streamed on platforms like Facebook Live, Instagram Live, and TikTok.&lt;/p&gt;

&lt;p&gt;Moreover, as described in many blogs, these shifting dynamics in leisure-time use of the internet parallel the worldwide movement toward the integration of online with real-world experience in hybrid approaches to everyday activities. Hybrid engagements with work, education, trade shows, and health care have become the new norm as humanity struggles to move beyond the Covid 19 pandemic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Appending Interactive Video Communications to CDNs Doesn’t Address Market Needs
&lt;/h2&gt;

&lt;p&gt;Livestreaming service strategies that rely on CDNs with ancillary attachments to video conferencing-type platforms supporting the interactive video components are rife with impediments to satisfactory results. They not only introduce operational complexities with limitations on quality and scaling of the interactive platforms; they also make it impossible to stream the source content with the real-time simultaneity essential to satisfactory user experiences.&lt;/p&gt;

&lt;p&gt;The range of limitations common to ancillary video communications platforms is well illustrated by the handful of systems used to support video-based interactions in live event watch parties.&lt;a href="https://www.sling.com/watchparty?&amp;amp;matchtype=e&amp;amp;campaign=SLGD%5FACQ%5FGO%5FGENERALXXX%5FBR%5FEN%5FEN&amp;amp;group=&amp;amp;cvo%5Fkeyword=sling%20tv%20watch%20party&amp;amp;BS=1&amp;amp;utm%5Fmedium=cpc&amp;amp;utm%5Fsource=google&amp;amp;utm%5Fcampaign=SLGD%5FACQ%5FGO%5FGENERALXXX%5FBR%5FEN%5FEN&amp;amp;utm%5Fterm=sling%20tv%20watch%20party&amp;amp;gclid=Cj0KCQjwpreJBhDvARIsAF1%5FBU3bjdAZisMqhvyOW3qakJ6buDQrIgPE11cXf2vgUNqld11uzJe%5FQPsaAkQ5EALw%5FwcB&amp;amp;gclsrc=aw.ds" rel="noopener noreferrer"&gt; Sling Watch Party&lt;/a&gt;,&lt;a href="https://www.yahoo.com/lifestyle/yahoo-sports-watch-together-162415601.html?guccounter=1&amp;amp;guce%5Freferrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&amp;amp;guce%5Freferrer%5Fsig=AQAAANlSEcWT9uA%5F42MWH4HxqztyT5E3OAB5r%5FP-o8losMjWaPTDM%5FfrNviwnRGucBMp88BnmXPB6-QFNWujKr%5FuZEb33Z8Ex2Z1hM-as3VOKr0w777CdmCiz5IVROEzFrgXKVuZgn39fxf5HUhmkhn8gxrOOZkgxlQWi8VwBZkIEYDQ" rel="noopener noreferrer"&gt; Yahoo Sports&lt;/a&gt;’ NFL mobile watch party app, and video chat apps available from other providers working with the NBA, soccer leagues, and other sports organizations all restrict watch-party participation to just a few users.&lt;/p&gt;

&lt;p&gt;There are also video-chat platforms available from Facebook, Amazon, Hulu, and HBO Max, but these are limited to shared viewing of on-demand content, which makes it easier to ensure a group’s chosen video file is streamed at the same time to all participants over one-way CDN infrastructure. In virtually all cases, video-chat with live or on-demand content is encumbered by poor video and audio quality.&lt;/p&gt;

&lt;p&gt;Similarly, attempts to employ traditional video conferencing platforms as adjuncts to CDNs in support of workplace virtualization and other hybrid applications fall far short of what’s needed. The highest levels of simultaneous user scalability top out at a few hundred participants, and many VC platforms set the maximum at under 100. Furthermore, virtually all restrict video quality to 720p HD resolution or below while limiting audio to voice-level frequencies.&lt;/p&gt;

&lt;p&gt;As for CDNs, major efforts have been expended on latency reduction for live video streaming, but real-time connectivity remains out of reach with no means of ensuring simultaneous frame-by-frame reception across all end points. For example, end-to-end latency performances CDN operators claim to have achieved through Chunked Transfer Encoding (CTE) used with the Common Media Application Format (CMAF) bottom out at around two seconds but frequently go to four seconds and even higher. Apple’s latest low latency HLS (LL-HLS) improvement over the ubiquitous &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Link%20Real-Time%20Live%20Streaming%20to%20Video-on-Demand" rel="noopener noreferrer"&gt;HLS&lt;/a&gt; protocol also gives performance of around 2 to 5 seconds of latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Enabling Real-Time Interactivity with no Scaling or Quality Limitations
&lt;/h2&gt;

&lt;p&gt;In contrast, an infrastructure based on Red5 Pro’s Experience Delivery Network (XDN) technology enables video-rich source and USG payloads to be streamed in any direction to and from any number of end users at any distance. Everyone views everything at the same time with the delivery of content at imperceptible end-to-end lag times no greater than 400ms and often much less.&lt;/p&gt;

&lt;p&gt;As described in greater detail in&lt;a href="https://www.red5.net/whitepapers/new-future-targeted-advertising/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Link%20Real-Time%20Live%20Streaming%20to%20Video-on-Demand" rel="noopener noreferrer"&gt; this white paper&lt;/a&gt;, everything essential to enabling multidirectional live streaming in real time from primary sources and any number of users is embodied in XDN architecture. The platform achieves the requisite scalability, quality, and other performance parameters with fail-safe redundancy through automated orchestration of hierarchies of origin, relay, and edge nodes in one or more cloud clusters.&lt;/p&gt;

&lt;p&gt;XDN architecture makes use of the Real-Time Transport Protocol (RTP) as the foundation for streaming via WebRTC (Real-Time Communications) and Real-Time Streaming Protocol (RTSP). In most cases, WebRTC is the preferred option for streaming on the XDN platform because it is supported by all the major browsers, which eliminates the need for device plug-ins. This means any user accessing live streaming through Chrome, Safari, Firefox, Edge, or Opera can also participate in interactive video communications by sending their input over the XDN via &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Link%20Real-Time%20Live%20Streaming%20to%20Video-on-Demand" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are also other options for receiving and transmitting video in real time when devices are not utilizing any of these browsers. RTSP, often the preferred option when mobile devices are targeted, can be activated through Red5 Pro iOS and Android SDKs. And video can be ingested onto the XDN platform in other formats as well, including Real-Time Messaging Protocol (RTMP), Secure Reliable Transport (SRT) and MPEG-Transport Protocol (TS). The XDN retains these encapsulations while relying on RTP as the underlying real-time transport mechanism.&lt;/p&gt;

&lt;p&gt;The XDN platform also provides full support for the multi-profile transcodes used with ABR streaming by utilizing intelligent Edge Node interactions with client devices to deliver content in the profiles appropriate to each user. And to ensure ubiquitous connectivity for every XDN use case, the platform supports content delivery in HTTP Live Streaming (HLS) mode as a fallback. In the rare instances where devices can’t be engaged via any of the other XDN-supported protocols, they will still be able to render the streamed content, albeit with the multi-second latencies that typify HTTP-based streaming.&lt;/p&gt;

&lt;p&gt;XDN Nodes can be deployed on multiple cloud infrastructure-as-a-service (IaaS) platforms. This can be done by leveraging pre-integrations with major suppliers like AWS, Google Cloud, Microsoft Azure and DigitalOcean, or through integrations with many other IaaS platforms enabled by Red5 Pro’s use of the Terraform multi-cloud toolset.&lt;/p&gt;

&lt;h2&gt;
  
  
  XDN Integrations with Cloud Storage Streamline VOD Support via CDNs
&lt;/h2&gt;

&lt;p&gt;It stands to reason that pervasive interactivity tied to live streaming is best served by reliance on an infrastructure purpose-built for this new chapter in online video engagement. But the internet economy will continue to require support for on-demand access to time-shifted live content as well as all the movies and other stored content delivered through SVOD services, social platforms and other outlets.&lt;/p&gt;

&lt;p&gt;The challenge, then, is to create an integrated infrastructure environment that recognizes the primacy of real-time interactive streaming for live video while ensuring maximum efficiency in the use of CDN capabilities as needed. Red5 Pro has made this possible through tools that can be used to configure plugins to the &lt;a href="https://aws.amazon.com/pm/serv-s3/?trk=ps%5Fa134p000004f2aOAAQ&amp;amp;trkCampaign=acq%5Fpaid%5Fsearch%5Fbrand&amp;amp;sc%5Fchannel=PS&amp;amp;sc%5Fcampaign=acquisition%5FUS&amp;amp;sc%5Fpublisher=Google&amp;amp;sc%5Fcategory=Storage&amp;amp;sc%5Fcountry=US&amp;amp;sc%5Fgeo=NAMER&amp;amp;sc%5Foutcome=acq&amp;amp;sc%5Fdetail=aws%20s3&amp;amp;sc%5Fcontent=S3%5Fe&amp;amp;sc%5Fmatchtype=e&amp;amp;sc%5Fsegment=488982706722&amp;amp;sc%5Fmedium=ACQ-P%7CPS-GO%7CBrand%7CDesktop%7CSU%7CStorage%7CS3%7CUS%7CEN%7CText&amp;amp;s%5Fkwcid=AL!4422!3!488982706722!e!!g!!aws%20s3&amp;amp;ef%5Fid=Cj0KCQjw1ouKBhC5ARIsAHXNMI87CauLu8lEnjBgA7KBRAYVxyI50hECqmFo2OBw1%5FPUotZ79Ewm6dgaAueaEALw%5FwcB:G:s&amp;amp;s%5Fkwcid=AL!4422!3!488982706722!e!!g!!aws%20s3" rel="noopener noreferrer"&gt;AWS S3&lt;/a&gt;, &lt;a href="https://cloud.google.com/storage" rel="noopener noreferrer"&gt;Google Cloud Storage&lt;/a&gt;, and &lt;a href="https://try.digitalocean.com/cloud-storage/?utm%5Fcampaign=amer%5Fbrand%5Fkw%5Fen%5Fcpc&amp;amp;utm%5Fadgroup=digitalocean%5Fspaces%5Fexact&amp;amp;%5Fkeyword=digitalocean%20spaces&amp;amp;%5Fdevice=c&amp;amp;%5Fadposition=&amp;amp;utm%5Fcontent=conversion&amp;amp;utm%5Fmedium=cpc&amp;amp;utm%5Fsource=google&amp;amp;gclid=Cj0KCQjw1ouKBhC5ARIsAHXNMI8sWWeDo5cKMduEWOYPRdz0hhHp60FBe3Qy65ioFQ5cUtZHx-Z2uXIaAuXQEALw%5FwcB" rel="noopener noreferrer"&gt;DigitalOcean Spaces&lt;/a&gt; storage services used by &lt;a href="https://www.fastly.com/" rel="noopener noreferrer"&gt;Fastly&lt;/a&gt; and other CDN operators.&lt;/p&gt;

&lt;p&gt;With &lt;a href="https://www.red5.net/blog/introducing-xdn-experience-delivery-network/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Link%20Real-Time%20Live%20Streaming%20to%20Video-on-Demand" rel="noopener noreferrer"&gt;XDN&lt;/a&gt; infrastructure in place to support all use cases involving livestreamed content, service providers can enable VOD availability of that content by leveraging these cloud infrastructures as seamless extensions of their operations. This saves them the time and costs of building and managing separate silos for their livestreamed and VOD services.&lt;/p&gt;

&lt;p&gt;Using the XDN Cloudstorage Plugin, service providers with a few simple configuration commands can set up direct connections with these cloud storage services to automate copying of livestreamed content to long-term storage. Once the integrations with supported storage facilities are executed, livestream providers operating over XDN infrastructure can contract with CDN operators to support VOD distribution of their content.&lt;/p&gt;

&lt;p&gt;The ability to select optimal solutions for VOD distribution while streamlining the live-to-VOD connection also contributes to minimizing costs. In the case of Fastly, for example, service providers can take advantage of the CDN operator’s Nearline Cache storage for large content libraries to reduce the workloads on origin servers and decrease egress costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Time-Shifting Modes Will Be Directly Supported on XDN Infrastructure
&lt;/h2&gt;

&lt;p&gt;In addition to streamlining utilization of leading PaaS resources for VOD services, Red5 Pro will soon be introducing mechanisms instantiated on XDN Edge Nodes to support other time-shift applications, including pause, replay, and start over. As a result, service providers now have a roadmap to the future where they can meet the full range of requirements in the real-time video streaming domain with the storage and distribution support they need to enable all time-shift applications. This puts real-time video-based engagement with livestreamed content where it should be, at the heart of the next generation in media and entertainment services. Visit the &lt;a href="https://www.red5.net/hls-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=How%20to%20Link%20Real-Time%20Live%20Streaming%20to%20Video-on-Demand" rel="noopener noreferrer"&gt;HLS server&lt;/a&gt; page to get started. &lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>5 Factors in Choosing WebRTC vs HLS</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Mon, 26 Oct 2026 05:00:49 +0000</pubDate>
      <link>https://dev.to/red5/5-factors-in-choosing-webrtc-vs-hls-4og4</link>
      <guid>https://dev.to/red5/5-factors-in-choosing-webrtc-vs-hls-4og4</guid>
      <description>&lt;p&gt;When it comes to choosing &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; vs &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;HLS&lt;/a&gt;, which protocol delivers the best live streaming experience? Making the correct decision is imperative since the protocol determines how quickly the encoded video data will be transported across an internet connection.&lt;/p&gt;

&lt;p&gt;WebRTC is a better choice. If that’s all you wanted to know then feel free to stop reading and go build your live streaming application using WebRTC. However, if you want to know why it is the best choice, and we are betting you do, then read on.&lt;/p&gt;

&lt;h2&gt;
  
  
  WebRTC vs HLS
&lt;/h2&gt;

&lt;p&gt;There is no universal answer to the question “Which video streaming protocol is better, WebRTC or HLS?” The right choice depends on your use case and project requirements. In modern live streaming workflows, these protocols often &lt;a href="https://www.red5.net/blog/role-of-hls-in-real-time-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;work together&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;For now, let’s compare WebRTC and HLS in terms of latency, scaling, multi-device compatibility, performance in poor network conditions, and security so you can make an informed decision.”&lt;/p&gt;

&lt;h3&gt;
  
  
  Latency
&lt;/h3&gt;

&lt;p&gt;The “live” part of live-streaming hinges mostly upon latency. With the exception of VOD-type applications, a large majority of live streaming use cases require a real-time latency of under 500 milliseconds. Anything above that causes a noticeable delay between when the video is captured and when it is seen by a subscriber. Effective live streaming creates interactivity merging the flow between participating in real-world events and experiencing those events in a virtual capacity.&lt;/p&gt;

&lt;p&gt;HLS was built on the long established and deeply entrenched HTTP infrastructure leading to the widespread use it currently enjoys. This aging infrastructure is also why HLS results in anywhere from 10-40 seconds of latency.&lt;/p&gt;

&lt;p&gt;However, there are ways to modify HLS to decrease the latency. Apple has their own Apple Low Latency HLS (LL-HLS) implementation which is similar to the open-source Low-Latency HLS (LHLS) which both reduce the latency down to around two or three seconds. Though they decrease latency, neither enjoy the widespread compatibility of standard HLS. Furthermore, two to three seconds is still way too high.&lt;/p&gt;

&lt;p&gt;Looking to increase the compatibility of LLHLS, in early 2020 Apple announced that it dropped the HTTP/2 push requirement. Thus, it looks like the overall HLS spec will eventually support around 3 seconds of latency. While still not real-time it’s certainly better than 40.&lt;/p&gt;

&lt;p&gt;As a UDP based protocol built to fully adapt to the modern internet, WebRTC supports 500ms of real-time latency meaning it is currently the only widely supported protocol that can provide real-time latency.&lt;/p&gt;

&lt;h3&gt;
  
  
  Scaling
&lt;/h3&gt;

&lt;p&gt;Scaling WebRTC is a little bit harder than HLS. However, that does not mean that it can’t be done especially considering that it has been done.&lt;/p&gt;

&lt;p&gt;One such example of successful WebRTC based scaling comes from Microsoft.&lt;/p&gt;

&lt;p&gt;In August of 2016 Microsoft acquired Beam, a WebRTC based approach to live game streaming intended to solve the latency issues and provide a better experience over the Twitch platform. A year later, Microsoft &lt;a href="https://www.theverge.com/2017/5/25/15690306/microsoft-mixer-game-streaming-service-features" rel="noopener noreferrer"&gt;changed the name to Mixer&lt;/a&gt;. Though they ultimately shut down their Mixer game streaming platform it was due to not being able to attract enough people to it, rather than being able to support a large number of users. The popular gamer Ninja had one stream on Mixer that attracted &lt;a href="https://influencermarketinghub.com/mixer-stats/#toc-6" rel="noopener noreferrer"&gt;over 85,000&lt;/a&gt; concurrent viewers and 2.2 million viewers over an 8.5 hour stream.&lt;/p&gt;

&lt;p&gt;The initial difficulty in scaling WebRTC stems from the fact that it creates peer-to-peer connections which can consume a great amount of CPU resources. When your hosting provider uses fixed data centers – such as a CDN – meeting that increase means physically adding additional servers or increasing the server capacity. This could be a problem if you hit a higher than anticipated demand, or if you just need a little extra capacity as you could end up paying for a much larger server than you need.&lt;/p&gt;

&lt;p&gt;Of course, the main draw to using a CDN in the first place is that the CDN provider will take care of the scaling for you. The problem though, is that CDNs use HTTP to scale, and that comes with a tremendous amount of latency.&lt;/p&gt;

&lt;p&gt;This is why you need a clustering solution that works with WebRTC as a protocol. Even better if it can autoscale with cloud infrastructure. This kind of Autoscaling Solution, involves switching from the static, datacenter-based CDN model, to a much more flexible cloud-based model. Server clusters can be set up to dynamically spin up new servers as network traffic increases and spin them back down once they are no longer needed. This alleviates the potential issue of paying for more capacity then you really need.&lt;/p&gt;

&lt;p&gt;Red5 Pro’s WebRTC supported Autoscaling Solution works by publishing a stream broadcast to an origin server. Subscribers requesting access to view the broadcast stream, connect to a separate edge server which is then connected to the correct origin server through a stream manager. This architecture allows multiple edges to connect to the same origin server. Thus multiple servers can handle as many connections as needed and all connect to the same broadcasting stream. If the origin hits capacity in the number of edge servers it can connect to, &lt;a href="https://www.red5.net/docs/red5-pro/development/api/stream-manager-2-0/stream-manager-2-admin-api/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;relay nodes&lt;/a&gt; allow the origin to connect with several groups of edges. Thus the system will keep spinning up new origins and edges to handle as many publishers and subscribers as needed.&lt;/p&gt;

&lt;p&gt;In fact, this dynamic scaling model is similar to how Mixer built their solution. However, Mixer used bare-metal servers which would not be as flexible as a strictly cloud-based solution. If you really want to dive deep into the Red5 Pro approach to cloud based scaling of WebRTC we recommend reading our &lt;a href="https://www.red5.net/whitepapers/cross-cloud-distribution-system-as-an-alternative-to-content-delivery-networks/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;white paper&lt;/a&gt; on the subject.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Device Compatibility
&lt;/h3&gt;

&lt;p&gt;Ensuring that your application can run on a variety of devices is certainly important. Whether it’s a mobile, laptop or tablet, you need a full complement of browsers and platforms supported.&lt;/p&gt;

&lt;p&gt;HLS has &lt;a href="https://caniuse.com/?search=hls" rel="noopener noreferrer"&gt;native support&lt;/a&gt; for mobile browsers (iOS-Safari and Android-Chrome). The only desktop browser with native support is Safari. Everything else requires a custom player implementation written in JavaScript. While there are plenty to choose from including commercial offerings like &lt;a href="https://www.jwplayer.com/" rel="noopener noreferrer"&gt;JWPlayer&lt;/a&gt;, there are also open source solutions like &lt;a href="https://github.com/video-dev/hls.js/" rel="noopener noreferrer"&gt;hls.js&lt;/a&gt;. However, as of today, there are very few players who’ve updated to support the new Low Latency HLS protocol that Apple has introduced.&lt;/p&gt;

&lt;p&gt;As a new web-standard, &lt;a href="https://caniuse.com/?search=WebRTC" rel="noopener noreferrer"&gt;WebRTC is fully supported&lt;/a&gt; by the latest versions of all major browsers: Chrome, Safari, Firefox, Edge and Opera. Plus it can be run natively in the browser without the use of a plug-in. That includes mobile browsers as well for iOS and Android. Of course, creating dedicated mobile apps with the use of &lt;a href="https://www.red5.net/live-video-streaming-native-sdks/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;Mobile SDKs&lt;/a&gt; is good too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Performance in Poor Streaming Conditions
&lt;/h3&gt;

&lt;p&gt;In terms of quality and performance, LL-HLS and WebRTC have similar features as they both can support transcoding and Adaptive Bitrate (ABR).&lt;/p&gt;

&lt;p&gt;ABR allows the client to request a lower bitrate that is more appropriate to the connectivity they are experiencing at that moment. That will ensure a smooth connection despite poor connectivity. HLS and it’s newer cousin LL-HLS both have ABR built right into the spec. This is accomplished by a master manifest file which contains the variants. When the player detects that the video isn’t being delivered quickly enough and thus detects insufficient bandwidth, then it can simply request one of the lower stream variants in the manifest. It then starts downloading the new video segments at the lower bitrate.  &lt;/p&gt;

&lt;p&gt;Understanding the relationship between network capacity and delay is also important for live streaming, so see our guide to &lt;a href="https://www.red5.net/blog/bandwidth-vs-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;bandwidth vs latency&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;With WebRTC things are quite a bit different. In WebRTC you have a single UDP connection where the delivery of video is over SRTP. This means you can’t go and make new requests for different segment files since there are no segment files to begin with. Instead the approach is to make available the multiple bitrate variants at the edge server allowing for the client to request the correct quality of video. The request itself is over the &lt;a href="https://en.wikipedia.org/wiki/RTP%5FControl%5FProtocol" rel="noopener noreferrer"&gt;RTCP channel&lt;/a&gt;, which is a bi-directional control channel for sending live information about the state of each peer in a WebRTC session. The specific message we listen for is &lt;a href="https://webrtcglossary.com/remb/" rel="noopener noreferrer"&gt;REMB&lt;/a&gt; which contains the recommended bandwidth that the peer is requesting (in this case the subscriber client). Based on that information, the edge server node can then respond by shifting to delivering the best stream for the bandwidth requirement.&lt;/p&gt;

&lt;p&gt;As a side note, both HLS and WebRTC can rely on live transcoding of the streams to generate these multiple bitrate variants. &lt;a href="https://www.red5.net/blog/what-is-transcoding/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;Transcoding&lt;/a&gt; splits the stream into a variety of quality ladders (For example: high, medium, and low) so that users who can support the highest quality can subscribe to it, while users with poorer connections can still watch.&lt;/p&gt;

&lt;p&gt;While HLS is limited to ABR, WebRTC has additional features further improving quality and performance.&lt;/p&gt;

&lt;p&gt;Given that WebRTC is a UDP based protocol, one of its most critical features is NACK, which is a method of resending critical packets. A bad network connection will likely result in the client dropping packets. Rather than trying to resend each and every one of the packets, NACK identifies the ones that are most important and resends those. This prevents the network from getting further overloaded with redundant requests. This will help keep the stream flowing and looking good even under poor network conditions, and doesn’t have the drawbacks of packet backups in TCP based systems. Again, like REMB, NACK is a message type sent over the RTCP channel to the Edge server. The edge server then is responsible for re-delivering that critical packet. WebRTC also supports many other strategies for keeping stream quality high and ensuring efficient delivery of video including &lt;a href="https://webrtcglossary.com/fec/" rel="noopener noreferrer"&gt;FEC&lt;/a&gt;, &lt;a href="https://webrtcglossary.com/fir/" rel="noopener noreferrer"&gt;FIR&lt;/a&gt;, and &lt;a href="https://webrtcglossary.com/pli/" rel="noopener noreferrer"&gt;PLI&lt;/a&gt;, which also happen to work over the RTCP channel.&lt;/p&gt;

&lt;h3&gt;
  
  
  Security
&lt;/h3&gt;

&lt;p&gt;Making sure that your data and streams remain protected is important as well. Preventing unauthorized users from creating streams and encrypting them so they can’t be intercepted ensures that sensitive information doesn’t leak out.&lt;/p&gt;

&lt;p&gt;As mentioned earlier, LL-HLS will be wrapped into the HLS spec. That means that security features available with LL-HLS such as DRM, token authentication, and key rotation will be implemented. However, those extra security features will have to wait until providers can configure them in their systems. Waiting on someone else for your security can be an issue.&lt;/p&gt;

&lt;p&gt;HLS does have one prominent security feature in that it can be encrypted. WebRTC is encrypted by default meaning your streams are free from hackers gaining illegal access to your streams. Furthermore, features such as &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/authentication/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;user authentication&lt;/a&gt;, &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/authentication/simple-authentication/red5-pro-simple-authentication-file-validator-configuration/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;file authentication&lt;/a&gt;, and &lt;a href="https://www.red5pro.com/docs/special/round-trip-auth/overview/" rel="noopener noreferrer"&gt;round-trip authentication&lt;/a&gt;, will further secure your streams.&lt;/p&gt;

&lt;p&gt;In regards to &lt;a href="https://dev.to/blog/4-reasons-to-choose-webrtc-security-over-drms-to-protect-live-video/"&gt;DRM systems&lt;/a&gt;, for many circumstances the basic security provided by WebRTC is more than enough to protect your data. That means that content owners and distributors can safely forego the costs and hassles of contracting for DRM support if they have the legal latitude to do so.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;While it’s clear that WebRTC fosters a better, more interactive, live streaming experience, HLS remains a solid option for streaming; just not live streaming. WebRTC has faster latency, better browser compatibility, and enhanced security features over HLS. While scaling WebRTC can be a little more challenging, that concern is easily surmounted by using a cloud-based autoscaling solution such as Red5 Pro and Red Cloud. Visit our &lt;a href="https://www.red5.net/webrtc-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;WebRTC server&lt;/a&gt; and &lt;a href="https://www.red5.net/hls-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;HLS server&lt;/a&gt; pages to get started. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/blog/what-is-moq-media-over-quic/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;MOQ&lt;/a&gt; is also gaining momentum in 2026 as a protocol designed for scalable, high-performance real-time and cached streaming, and many developers hope it will eventually replace the WebRTC plus HLS workflow. We have already launched &lt;a href="https://www.red5.net/media-over-quic-moq/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=5%20Factors%20in%20Choosing%20WebRTC%20vs%20HLS" rel="noopener noreferrer"&gt;support for Media over QUIC protocol&lt;/a&gt; in Red5 Pro and Red5 Cloud solutions. &lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>CMAF vs WebRTC: Select the Right Delivery Type For Your Use Case</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Fri, 23 Oct 2026 05:00:50 +0000</pubDate>
      <link>https://dev.to/red5/cmaf-vs-webrtc-select-the-right-delivery-type-for-your-use-case-19i8</link>
      <guid>https://dev.to/red5/cmaf-vs-webrtc-select-the-right-delivery-type-for-your-use-case-19i8</guid>
      <description>&lt;p&gt;We’ve already covered details of how &lt;a href="https://www.red5.net/blog/does-cmaf-work-for-low-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;CMAF&lt;/a&gt; and &lt;a href="https://www.red5.net/webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; deliver streams, but what about a direct comparison of the performance of CMAF vs WebRTC. This post will cover just that.&lt;/p&gt;

&lt;h2&gt;
  
  
  CMAF vs WebRTC
&lt;/h2&gt;

&lt;h3&gt;
  
  
  WebRTC vs CMAF: Transport
&lt;/h3&gt;

&lt;p&gt;CMAF (as an HTTP based protocol) uses the standard HTTP protocol to send media requests between web servers and clients. As a connectionless text based protocol, each request requires opening a separate connection using TCP to transfer requests and then closing it once the request has been serviced.&lt;/p&gt;

&lt;p&gt;WebRTC creates a connection through through the RTCPeerConnection which is a more complicated process than HTTP. First, the browsers are connected through signaling, by passing the Session Description Protocol (SDP) and exchanging ICE candidates. Then encryption keys are exchanged using DTLS (Datagram Transport Layer Security). This signaling discovers where the two users are and how to connect. Signaling takes place over an HTTPS connection or a WebSocket (&lt;a href="https://www.red5.net/docs/red5-pro/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt; uses a WebSocket) and is then implemented via JS code. As this process creates a direct connection between two web browsers, it is considered a peer-to-peer connection. This process has been covered in detail in a past article (and a really deep-dive here).&lt;/p&gt;

&lt;p&gt;One very important difference is that CMAF (through HTTP) creates a TCP connection while WebRTC is a UDP based connection. This has important consequences in regards to the results they produce, namely when it comes to latency. We will cover that in more detail later on.&lt;/p&gt;

&lt;h3&gt;
  
  
  CMAF vs WebRTC: Latency
&lt;/h3&gt;

&lt;p&gt;Despite the fact that both CMAF and WebRTC were created with the intention of reducing latency, WebRTC is a new method designed specifically to produce the lowest latency possible. CMAF on the other hand, is a reworking of an older streaming method.&lt;/p&gt;

&lt;p&gt;CMAF was designed to lower the incredibly high latency involved in HTTP delivery without having to rethink the overall strategy of using HTTP. This also made it easier on CDNs since they didn’t have to change their entire strategy and infrastructure. However, this approach is still not not low enough for real-time interactivity. No matter what is done to CMAF it’s still based on the older (and slower) HTTP method. As such, this makes CMAF a stop-gap solution rather than an actual fix the problem of latency in live streaming.&lt;/p&gt;

&lt;p&gt;Unlike TCP-based &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;HLS&lt;/a&gt; and MPEG-DASH, WebRTC is UDP based. UDP is not concerned with the order of the data, rather it delivers each packet to the application the moment it arrives. Instead of queuing packets and waiting for them to load like TCP based protocols, WebRTC focuses on the dropped packets. This is done either by using NACK to retransmit the most critical packets or by Packet Loss Concealment – estimating to some extent what should have been in the missing packet.&lt;/p&gt;

&lt;p&gt;Those already familiar with WebRTC may correctly point out that WebRTC can also deliver over TCP. However, since this method is mostly used as a back up when firewalls block UDP traffic, we don’t dwell on it in this post.&lt;/p&gt;

&lt;p&gt;In real world tests, CMAF produces 2-3 seconds of latency, while WebRTC is under 250 milliseconds. This makes WebRTC the fastest, streaming method.&lt;/p&gt;

&lt;h3&gt;
  
  
  CMAF vs WebRTC: How Do They Send Media?
&lt;/h3&gt;

&lt;p&gt;In order to transmit each CMAF Segment, a POST request containing a CMAF Header is sent to the ingest origin server. Immediately after each CMAF Chunk completes encoding and packaging, it is sent through HTTP 1.1 chunked transfer encoding. This means that each segment can be progressively delivered as each chunk is ready rather than waiting for the entire segment to load before it can be sent out.&lt;/p&gt;

&lt;p&gt;Then, the chunks ingested into the origin are delivered over HTTP chunked transfer encoding to a CDN where Edge servers make them available to the players which will eventually display the media. In order to retrieve the segment, the player uses the manifest or playlist associated with a stream to establish a connection with the correct Edge and then it makes a GET request.&lt;/p&gt;

&lt;p&gt;WebRTC goes through “media channels”. These use either SRTP (for encrypted voice and video) or SCTP (for the encrypted data channel). The actual video itself is sent using different codecs. In the case of Red5 Pro, the primary codecs used are &lt;a href="https://www.red5.net/h264/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;H.264&lt;/a&gt; for video and AAC for audio. However, other codecs, such as &lt;a href="https://www.red5.net/blog/av1-vs-vp9-vs-vp8-comparison-for-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case#vp8-codec" rel="noopener noreferrer"&gt;VP8&lt;/a&gt; and &lt;a href="https://www.red5.net/vp9-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;VP9&lt;/a&gt;, can be supported as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Protocol Is Right for Your Use Case?
&lt;/h2&gt;

&lt;p&gt;Choose CMAF if you need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;High-quality, broadcast-style video at scale, including 1080p and 4K delivery.&lt;/li&gt;
&lt;li&gt;Efficient one-to-many distribution using existing CDN infrastructure.&lt;/li&gt;
&lt;li&gt;Predictable playback for large audiences where interaction is limited.&lt;/li&gt;
&lt;li&gt;Lower latency than traditional HLS or DASH without fully rearchitecting your streaming pipeline.&lt;/li&gt;
&lt;li&gt;A proven model for &lt;a href="https://www.red5.net/solutions/sports-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;live sports&lt;/a&gt;, &lt;a href="https://www.red5.net/case-studies/red5-cloud-zixi-real-time-monitoring-and-streaming-solution-for-live-event-production/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;large events&lt;/a&gt;, and high-traffic product launches.&lt;/li&gt;
&lt;li&gt;CMAF is best suited for scenarios where video fidelity, reach, and delivery efficiency matter more than instant interaction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Choose WebRTC if you need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sub-second or real-time latency for interactive experiences&lt;/li&gt;
&lt;li&gt;Tight synchronization between video, audio, and user actions&lt;/li&gt;
&lt;li&gt;Dynamic, two-way communication such as &lt;a href="https://www.red5.net/solutions/auction-live-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;auctions&lt;/a&gt;, &lt;a href="https://www.red5.net/solutions/sports-betting/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;betting&lt;/a&gt;, collaboration, or conferencing.&lt;/li&gt;
&lt;li&gt;Real-time quality adaptation to changing network conditions&lt;/li&gt;
&lt;li&gt;Large-scale interactive streaming built on SFUs and cloud-native orchestration&lt;/li&gt;
&lt;li&gt;WebRTC is the better choice when responsiveness and immediacy are core requirements, even if that means trading off some delivery efficiency or relying on more active infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In practice, the choice comes down to scale versus immediacy. CMAF excels at delivering the same high-quality stream to massive audiences efficiently. WebRTC excels at keeping participants synchronized in real time, enabling interaction that buffered streaming protocols cannot support.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CMAF?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/blog/what-is-cmaf/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;CMAF&lt;/a&gt; is a standardized container designed to package video, audio, or text data that is delivered using HTTP based streaming protocols: &lt;a href="https://www.red5.net/hls-server/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;HLS&lt;/a&gt;, LHLS, or MPEG-DASH. HTTP protocols divide a video stream into small chunks which reside on a HTTP server. In this way the individual video chunks can be downloaded by a video player via TCP.&lt;/p&gt;

&lt;p&gt;CMAF defines the segment format as well as &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;codecs&lt;/a&gt; and media profiles that will be used to deliver the stream.&lt;/p&gt;

&lt;p&gt;The advantage of CMAF is that media segments can be referenced simultaneously by HLS playlists and DASH manifests. This allows for the support of various devices without having to store multiple copies of the same stream content with different encoding for different formats. CMAF eliminates the need for redundant storage of the same video file by using one file format that could be used by different devices.&lt;/p&gt;

&lt;p&gt;A big disadvantage is that (like other HTTP based protocols) it cannot produce a low enough latency for real-time live streaming with a latency of 2-3 seconds. We will cover latency in more detail later on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is WebRTC?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://webrtc.org/" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt; (Web Real-Time Communication) is a standards-based, open-source project supported by Google, Microsoft, Mozilla, Opera, and Apple. Essentially, it is a media engine with a JavaScript API on top of it. It supports both direct peer-to-peer (p2p) connections and server-assisted topologies such as SFUs, and is supported natively with standard browser APIs, making it suitable for real-time streaming, communications, and interactive applications. &lt;a href="https://www.red5.net/blog/webrtc-streaming-is-still-king/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;WebRTC streaming is still king&lt;/a&gt; in 2025, enabling sub-250 ms latency for true &lt;a href="https://www.red5.net/solutions/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;real-time scenarios&lt;/a&gt;. Learn more about this protocol from our blog “&lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;What is WebRTC&lt;/a&gt;?”&lt;/p&gt;

&lt;p&gt;It works directly in a web browser without requiring additional plugins or downloading native apps. It does not use HTTP to send any media. Instead, it establishes a connection using UDP and delivers encrypted video over RTP. As such, WebRTC produces the lowest possible latency of 250 milliseconds or less. This level of responsiveness is often described as &lt;a href="https://www.red5.net/blog/streaming-at-the-speed-of-thought/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;streaming at the speed of thought&lt;/a&gt; because human perception cannot register machine level zero latency, making sub-250 ms effectively instant for users. Learn the &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/protocols/webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;most common WebRTC terms&lt;/a&gt; on this page. &lt;a href="https://www.red5.net/blog/debunking-9-myths-about-webrtc-scalability/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;WebRTC scalability&lt;/a&gt; is already proven in real-world deployments.&lt;/p&gt;

&lt;p&gt;If you want to try it right now, you can visit our &lt;a href="https://www.red5.net/demo/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case" rel="noopener noreferrer"&gt;WebRTC demo&lt;/a&gt; and see real-time performance in action. What’s important today is &lt;a href="https://www.red5.net/blog/webrtc-streaming-socializing-internet/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=CMAF%20vs%20WebRTC%3A%20Select%20the%20Right%20Delivery%20Type%20For%20Your%20Use%20Case#1-synchronization-of-user-experiences-is-vital-to-socializing-live-streamed-services" rel="noopener noreferrer"&gt;synchronization of user experiences&lt;/a&gt;, you don’t want updates to arrive at different times particularly for live events. &lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;CMAF vs WebRTC comes down to the tradeoff between scalability and real-time interaction. CMAF is better suited for large-scale, broadcast-style streaming where high video quality and efficient CDN delivery matter most, while WebRTC is designed for sub-second latency and fully interactive experiences. Choosing the right protocol depends on whether your use case prioritizes reach and consistency or immediacy and synchronization.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What Is CMAF? Benefits, Limitations, and When to Use It</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Thu, 22 Oct 2026 05:00:49 +0000</pubDate>
      <link>https://dev.to/red5/what-is-cmaf-benefits-limitations-and-when-to-use-it-4lok</link>
      <guid>https://dev.to/red5/what-is-cmaf-benefits-limitations-and-when-to-use-it-4lok</guid>
      <description>&lt;p&gt;This guide answers the question “what is CMAF” by explaining how the format works, its benefits and limitations, and when to use it. It also compares CMAF with &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;HLS&lt;/a&gt;, &lt;a href="https://www.red5.net/blog/what-is-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;, DASH, and fMP4.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CMAF?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://developer.apple.com/documentation/http-live-streaming/about-the-common-media-application-format-with-http-live-streaming-hls" rel="noopener noreferrer"&gt;CMAF&lt;/a&gt;, or &lt;strong&gt;Common Media Application Format&lt;/strong&gt;, is an open standard for packaging video, audio, and text for adaptive bitrate streaming. It defines a common media container that can be used across modern streaming workflows, helping simplify distribution while improving efficiency.&lt;/p&gt;

&lt;p&gt;Rather than introducing a new delivery &lt;a href="https://www.red5.net/video-streaming-technology/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;protocol&lt;/a&gt;, CMAF focuses on &lt;strong&gt;how media is encoded and segmented&lt;/strong&gt; so it can be reused across different playback environments. This makes it easier to manage assets, reduce operational overhead, and support scalable streaming on a wide range of devices. CMAF streaming is the delivery of live or on demand media packaged in CMAF containers through compatible protocols such as HLS and MPEG-DASH. &lt;a href="https://www.iso.org/standard/85623.html" rel="noopener noreferrer"&gt;CMAF is widely adopted across the streaming industry&lt;/a&gt; and serves as a foundation for low latency HTTP streaming when combined with compatible delivery modes and player support.&lt;/p&gt;

&lt;h2&gt;
  
  
  CMAF Origins: HTTP Live Streaming and HLS Redundancy
&lt;/h2&gt;

&lt;p&gt;HLS and MPEG-DASH are two of the most widely used HTTP-based video streaming protocols for distributing live and on demand content. Delivering an HTTP stream involves dividing the video into small chunks that reside on an HTTP server. In this way, the individual video chunks can be downloaded by a video player via TCP. This allows the video to traverse firewalls easily, where it can be delivered as it is watched, thus minimizing caching.&lt;/p&gt;

&lt;p&gt;However, there is a drawback involving the encoding of audio and video data. HLS traditionally uses TS containers to hold the muxed a/v data, while DASH prefers the ISO-Base Media File Format holding demuxed tracks.&lt;/p&gt;

&lt;p&gt;In order to connect with a variety of devices, content owners must package and store two sets of files, each holding exactly the same audio and video data. This increases encoding and storage costs because Content Delivery Networks (CDNs) must process and store multiple formats containing the same content.&lt;/p&gt;

&lt;p&gt;The creation of the CMAF came out of efforts to solve this redundancy problem. Proposed by Apple and Microsoft in 2016 and standardized by MPEG in 2018, CMAF is a standardized container designed to hold video, audio, or text data that is deployed using HTTP based streaming protocols: HLS or MPEG-DASH.&lt;/p&gt;

&lt;p&gt;Bitmovin provides the &lt;a href="https://bitmovin.com/what-is-cmaf-threat-opportunity/" rel="noopener noreferrer"&gt;following definition&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;CMAF defines the encoding and packaging of segmented media objects for delivery and decoding on end-user devices in adaptive multimedia presentations. In particular, this is (i) storage, (ii) identification, and (iii) delivery of encoded media objects with various constraints on encoding and packaging. That means CMAF defines not only the segment format but also codecs and most importantly media profiles (i.e., for AVC, HEVC, AAC).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The advantage of the Common Media Application Format is that the same CMAF segments &lt;strong&gt;can be referenced by HLS playlists and DASH manifests&lt;/strong&gt;. CDNs can store &lt;strong&gt;one set of files&lt;/strong&gt; for both video delivery workflows, improving cache efficiency while reducing storage costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  How CMAF Works
&lt;/h2&gt;

&lt;p&gt;CMAF defines how media is encoded, segmented, and packaged so it can be delivered and decoded consistently across adaptive streaming systems. Content is organized into CMAF Presentations, which contain time-aligned Switching Sets made up of one or more Tracks encoded at different bitrates, resolutions, or qualities. These aligned &lt;strong&gt;CMAF Switching Sets&lt;/strong&gt; support multiple bitrates and allow playback devices to adapt to network conditions without disrupting audio or video continuity.&lt;/p&gt;

&lt;p&gt;CMAF media is delivered as addressable objects such as Fragments, Segments, and Chunks, but CMAF itself does not mandate a specific manifest format or delivery protocol. This separation allows the same encoded media to be used with different playback systems while maintaining consistent decoding behavior. &lt;/p&gt;

&lt;p&gt;CMAF also supports encrypted media through Common Encryption (CENC), helping compatible workflows accommodate DRM systems such as FairPlay, PlayReady, and Widevine. However, DRM compatibility still depends on the selected encryption scheme, player, platform, and delivery workflow.&lt;/p&gt;

&lt;p&gt;For &lt;a href="https://www.red5.net/solutions/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;low latency use cases&lt;/a&gt;, CMAF supports chunk-based delivery, where fragments are divided into smaller chunks that can be encoded, delivered, and decoded incrementally before a full segment is complete. This enables just-in-time playback while remaining compatible with standard HTTP delivery and CDN workflows.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Does It Reduce Latency?
&lt;/h3&gt;

&lt;p&gt;In actuality, CMAF containers are not able to reduce latency by themselves. Instead, a low latency mode (known as Low Latency CMAF, or Chunked CMAF) must be configured.&lt;/p&gt;

&lt;p&gt;If you can’t tell by now, this is the really technical part so feel free to skip ahead if so inclined.&lt;/p&gt;

&lt;p&gt;Chunked CMAF divides each container into smaller sections. Listing them from biggest to smallest: CMAF Container &amp;gt; Segment &amp;gt; Fragment &amp;gt; Chunk. Each chunk is defined as the smallest referenceable unit that contains at least a moof and mdat atom. One or more chunks are combined together to form a fragment which in turn can be merged into a segment.&lt;/p&gt;

&lt;p&gt;In order to transmit each CMAF Segment, a POST request containing a CMAF Header is sent to the ingest origin server. Immediately after each CMAF Chunk completes encoding and packaging, it is sent through HTTP 1.1 chunked transfer encoding. This means that each segment can be progressively delivered as each chunk is ready rather than waiting for the entire segment to load before it can be sent out.&lt;/p&gt;

&lt;p&gt;As an example, if the encoder is producing 4-second segments with 30 frames per second then it would make a POST request to the origin every 4 seconds and each of the 120 frames would be sent using chunked transfer encoding.&lt;/p&gt;

&lt;p&gt;Then, the chunks ingested into the origin are delivered over HTTP chunked transfer encoding to a CDN where Edge servers make them available to the players which will eventually display the media. In order to retrieve the segment, the player uses the manifest or playlist associated with a stream to establish a connection with the correct Edge and then it makes a GET request.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Are the Results?
&lt;/h3&gt;

&lt;p&gt;Laboratory tests with CMAF have &lt;a href="https://securityboulevard.com/2018/10/best-practices-for-ultra-low-latency-streaming-using-chunked-encoded-and-chunk-transferred-cmaf/" rel="noopener noreferrer"&gt;achieved end-to-end latencies as low as 600ms&lt;/a&gt;. However, results in the real world, away from the lab’s controlled environment, are less impressive. Current proof-of-concepts deployed over the open internet have shown a sustainable Quality of Experience (QoE) only when the end-to-end latency is &lt;a href="https://securityboulevard.com/2018/10/best-practices-for-ultra-low-latency-streaming-using-chunked-encoded-and-chunk-transferred-cmaf/" rel="noopener noreferrer"&gt;around 3 seconds&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This increase is due in part to the fact that it requires many small chunks of 250 milliseconds. This would add to the number of HTTP calls happening (at least four per second), create higher bandwidth video, and increase server load; all of which add latency. These trade-offs show why streaming performance depends on both available network capacity and delivery delay; see our guide to &lt;a href="https://www.red5.net/blog/bandwidth-vs-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;bandwidth vs latency&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It should also be noted that CMAF creates problems for consistent stream quality, specifically in regards to adaptive bitrate, because of the way current algorithms estimate throughput. &lt;/p&gt;

&lt;h3&gt;
  
  
  Is a 3-Second Latency Good Enough for Real-Time?
&lt;/h3&gt;

&lt;p&gt;Definitely not. While CMAF shows improved latency over vanilla HLS and DASH, it is still not low enough to enable fully interactive live video experiences.&lt;/p&gt;

&lt;p&gt;As we’ve mentioned before, you can only have real-time streaming if the latency is under 500 milliseconds. In today’s world of instant communication and information, every second (and partial second) counts. &lt;a href="https://www.red5.net/case-studies/red5-pros-low-latency-solution-powers-novettas-cutting-edge-solutions/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;Drone surveillance&lt;/a&gt;, social media chatting, &lt;a href="https://www.invaluable.com/" rel="noopener noreferrer"&gt;live auctions&lt;/a&gt;, broadcasting live events among &lt;a href="https://www.red5.net/case-studies/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;many other&lt;/a&gt; use-cases, all require real-time latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits and Limitations of CMAF
&lt;/h2&gt;

&lt;p&gt;CMAF streaming allows compatible HLS and MPEG-DASH workflows to use the same media files instead of storing separately packaged copies. This simplifies the encoding and delivery process, reduces storage costs, and supports adaptive bitrate delivery across multiple platforms and devices.&lt;/p&gt;

&lt;p&gt;Chunked CMAF can also reduce video latency by delivering smaller video segments before a complete segment is available. However, low latency performance depends on compatible encoders, CDNs, players, codecs, and playback devices.&lt;/p&gt;

&lt;p&gt;Use CMAF when efficient large-scale video streaming and compatibility with HLS and MPEG-DASH are priorities. For interactive applications requiring sub-second latency, WebRTC or another real-time technology is generally more appropriate. Common CMAF use cases include live sports, news, live commerce, online auctions, and large-scale events where viewers need lower latency but do not require fully interactive communication.&lt;/p&gt;

&lt;h2&gt;
  
  
  How CMAF Compares to HLS, WebRTC, DASH, and fMP4
&lt;/h2&gt;

&lt;h3&gt;
  
  
  CMAF vs HLS
&lt;/h3&gt;

&lt;p&gt;The decision ultimately comes down to &lt;strong&gt;compatibility versus efficiency&lt;/strong&gt;. Choose &lt;a href="https://www.red5.net/blog/what-is-hls-streaming/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;HLS&lt;/a&gt; if you need the &lt;a href="https://caniuse.com/?search=hls" rel="noopener noreferrer"&gt;broadest possible device support&lt;/a&gt; and highly reliable delivery across existing platforms. Choose CMAF if you want to standardize your media format, reduce duplicate encodes, and enable lower-latency HTTP streaming without abandoning HLS delivery. CMAF works alongside HLS, improving how media is packaged while HLS continues to handle distribution and playback.&lt;/p&gt;

&lt;p&gt;CMAF should also not be confused with Low-Latency HLS (LL-HLS). CMAF defines how media is packaged, while Low-Latency HLS extends the HLS delivery protocol to reduce latency. Low-Latency HLS commonly uses CMAF-compatible fragmented MP4 segments.&lt;/p&gt;

&lt;h3&gt;
  
  
  CMAF vs WebRTC
&lt;/h3&gt;

&lt;p&gt;In practice, the choice comes down to &lt;strong&gt;scale versus immediacy&lt;/strong&gt;. CMAF excels at delivering the same high-quality stream to massive audiences efficiently. WebRTC excels at keeping participants synchronized in real time, enabling interaction that buffered streaming protocols cannot support.&lt;/p&gt;

&lt;p&gt;If you want a deeper technical breakdown of latency, scalability, infrastructure requirements, and real-world use cases, read our &lt;a href="https://www.red5.net/blog/cmaf-vs-webrtc/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;CMAF vs WebRTC&lt;/a&gt; comparison blog.&lt;/p&gt;

&lt;h3&gt;
  
  
  CMAF vs DASH
&lt;/h3&gt;

&lt;p&gt;The distinction here centers on &lt;strong&gt;packaging versus delivery&lt;/strong&gt;. Choose MPEG-DASH if you need a flexible, standards-based streaming protocol with broad support across platforms and devices. Choose CMAF if you want a single, standardized media format that can be reused across DASH and other HTTP streaming workflows to reduce complexity and storage overhead. CMAF complements DASH by defining how media is packaged, while DASH focuses on how that media is described, delivered, and played back.&lt;/p&gt;

&lt;h3&gt;
  
  
  CMAF vs fMP4
&lt;/h3&gt;

&lt;p&gt;The difference here lies between a &lt;strong&gt;file format and a complete packaging standard&lt;/strong&gt;. Choose fragmented MP4 if you simply need a container format for segmented media. Choose CMAF if you need a standardized way to package fMP4 with defined constraints that enable interoperability, adaptive switching, and low-latency streaming. CMAF builds on fMP4 by adding rules and profiles that make fragmented media work consistently across streaming platforms and players.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What does CMAF stand for?
&lt;/h3&gt;

&lt;p&gt;CMAF stands for Common Media Application Format. It standardizes how video, audio, and text are packaged for adaptive bitrate streaming.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is CMAF a streaming protocol?
&lt;/h3&gt;

&lt;p&gt;No. CMAF is a media packaging format rather than a streaming protocol. HLS and MPEG-DASH can deliver CMAF-packaged media.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between CMAF and HLS?
&lt;/h3&gt;

&lt;p&gt;CMAF defines how media is packaged, while HLS defines how media is described and delivered. HLS playlists can reference CMAF segments.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does CMAF reduce streaming latency?
&lt;/h3&gt;

&lt;p&gt;CMAF alone does not reduce streaming latency. Chunked CMAF enables lower latency delivery by making encoded chunks available before the complete segment is finished.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between CMAF and fMP4?
&lt;/h3&gt;

&lt;p&gt;CMAF uses fragmented MP4 as its underlying container structure but adds media profiles and interoperability requirements for consistent playback across compatible streaming platforms.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;When asked what is CMAF, the short answer is that it simplifies how streaming media is packaged and delivered at scale. It improves efficiency and latency compared to traditional HTTP streaming, but it is not intended for fully interactive real-time experiences. For CMAF-based delivery over MOQ (&lt;a href="https://www.red5.net/blog/what-is-moq-media-over-quic/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;Media over QUIC&lt;/a&gt;), the CMAF-Compliant MOQT Streaming Format (CMSF) provides capabilities such as native DRM support, although it typically has higher latency than the &lt;a href="https://www.ietf.org/archive/id/draft-mzanaty-moq-loc-03.html" rel="noopener noreferrer"&gt;Low Overhead Container&lt;/a&gt; (LOC). Learn more in “&lt;a href="https://www.red5.net/blog/cmsf-vs-cmaf/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=What%20Is%20CMAF%3F%20Benefits%2C%20Limitations%2C%20and%20When%20to%20Use%20It" rel="noopener noreferrer"&gt;CMSF vs. CMAF&lt;/a&gt;: What’s the Difference for Video Streaming?”.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>WebRTC Security: Encryption, DTLS, SRTP, and Risks</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Wed, 21 Oct 2026 05:00:50 +0000</pubDate>
      <link>https://dev.to/red5/webrtc-security-encryption-dtls-srtp-and-risks-4omh</link>
      <guid>https://dev.to/red5/webrtc-security-encryption-dtls-srtp-and-risks-4omh</guid>
      <description>&lt;p&gt;WebRTC is secure by design at the transport layer: standards-compliant connections encrypt audio and video with SRTP, use DTLS to establish keying material, and protect data channels with DTLS. That does not make an entire WebRTC application secure automatically. User authentication, authorization, signaling, TURN access, server configuration, recordings, application data, and any media processing outside the encrypted connection remain the operator’s responsibility.&lt;/p&gt;

&lt;p&gt;This guide explains the WebRTC security architecture, corrects common misconceptions about CORS and end-to-end encryption, and gives developers a practical checklist for protecting real-time communications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is WebRTC Secure?
&lt;/h2&gt;

&lt;p&gt;Yes, WebRTC requires encrypted transport for standards-compliant browser connections. Web browsers do not offer an option to send WebRTC media streams as unencrypted RTP. The peers negotiate cryptographic parameters and authenticate the DTLS exchange using certificate fingerprints carried in the session description. Audio and video then travel as encrypted SRTP packets.&lt;/p&gt;

&lt;p&gt;That answer needs an important qualification. WebRTC protects traffic between the endpoints of each WebRTC connection. If a media server terminates one connection and creates another, each leg can be encrypted while the server can still access the media in between. This is necessary for many functions, including transcoding, recording, compositing, moderation, and protocol conversion. It is transport encryption, not necessarily end-to-end encryption between the original publisher and every viewer.&lt;/p&gt;

&lt;p&gt;WebRTC security therefore has two parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Built-in protocol protection:&lt;/strong&gt; encrypted media, encrypted data channels, and authenticated key establishment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Application and infrastructure protection:&lt;/strong&gt; secure signaling, identity, permissions, access control, credential management, server hardening, storage security, monitoring, and incident response.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The protocol supplies a strong foundation. The application still determines who may join, what each user may publish or watch, and what happens to media after it reaches a trusted service.&lt;/p&gt;

&lt;h2&gt;
  
  
  WebRTC Security Architecture at a Glance
&lt;/h2&gt;

&lt;p&gt;The main security layers are easier to understand when separated by responsibility.&lt;/p&gt;

&lt;p&gt;No single row replaces the others. A securely encrypted media connection can still be exposed by a stolen session token, an overly broad authorization rule, a vulnerable signaling service, or a public recording bucket.&lt;/p&gt;

&lt;h2&gt;
  
  
  How WebRTC Encryption Works
&lt;/h2&gt;

&lt;p&gt;WebRTC establishes a connection in stages. Signaling exchanges descriptions and connectivity information. ICE finds a viable network path. DTLS authenticates the peers and establishes keying material. SRTP protects audio and video, while DTLS protects data-channel traffic.&lt;/p&gt;

&lt;h3&gt;
  
  
  SDP and Certificate Fingerprints
&lt;/h3&gt;

&lt;p&gt;The Session Description Protocol (SDP) describes media capabilities and connection parameters. An offer and answer can include codecs, media directions, ICE information, and a fingerprint of the certificate that a peer will use during the DTLS handshake. Protecting this key exchange helps prevent man-in-the-middle substitution.&lt;/p&gt;

&lt;p&gt;WebRTC does not prescribe how an application exchanges SDP. The application may use HTTPS, secure WebSockets, or another signaling mechanism. Because the certificate fingerprint travels through signaling, an attacker who can alter signaling may be able to substitute connection details. Protecting and authenticating the signaling path is therefore essential even though signaling does not carry the media itself.&lt;/p&gt;

&lt;h3&gt;
  
  
  DTLS and Key Establishment
&lt;/h3&gt;

&lt;p&gt;DTLS stands for Datagram Transport Layer Security. It provides TLS-style security for datagram transports and is used by WebRTC peers to authenticate the connection and derive keying material. The peers compare the certificate presented during the DTLS handshake with the fingerprint exchanged through SDP.&lt;/p&gt;

&lt;p&gt;For media, WebRTC uses the DTLS-SRTP mechanism standardized in &lt;a href="https://www.rfc-editor.org/rfc/rfc5764" rel="noopener noreferrer"&gt;RFC 5764&lt;/a&gt;. DTLS establishes the material from which SRTP keys are derived. It is more accurate to describe DTLS as a datagram-oriented security protocol based on TLS than as a subset of TLS.&lt;/p&gt;

&lt;h3&gt;
  
  
  SRTP for Audio and Video
&lt;/h3&gt;

&lt;p&gt;Secure Real-time Transport Protocol, or SRTP, provides confidentiality, message authentication, and replay protection for RTP media. WebRTC uses SRTP for audio and video and SRTCP for the associated control traffic. The encryption is handled by the WebRTC implementation rather than by application JavaScript.&lt;/p&gt;

&lt;p&gt;SRTP does not encrypt the signaling service, application API, stored recording, or administrative interface. Those systems need their own controls. SRTP also should not be confused with SRT, the Secure Reliable Transport protocol used in many contribution workflows.&lt;/p&gt;

&lt;h3&gt;
  
  
  Data-Channel Protection
&lt;/h3&gt;

&lt;p&gt;WebRTC data channels do not use SRTP. They carry SCTP over DTLS, so messages are encrypted in transit between the WebRTC peers. Applications must still validate the content they receive. Treat data-channel messages as untrusted input, enforce authorization, limit message sizes and rates, and never assume that encryption proves a user is allowed to perform an action. The same principle applies to media streams: encryption protects transport, not business permissions.&lt;/p&gt;

&lt;p&gt;For a standards-level description of the threat model and security properties, see the IETF’s &lt;a href="https://www.rfc-editor.org/rfc/rfc8827" rel="noopener noreferrer"&gt;WebRTC Security Architecture&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  HTTPS, Permissions, and Device Access
&lt;/h2&gt;

&lt;p&gt;Browsers restrict camera and microphone access because those media devices expose sensitive information. The &lt;code&gt;getUserMedia()&lt;/code&gt; API is available only in a secure context, with limited exceptions such as local development, and requires explicit user consent. The user’s browser also shows indicators while a camera or microphone is in use.&lt;/p&gt;

&lt;p&gt;Serve the application over HTTPS with a valid certificate. Request only the devices and capabilities the feature needs, make the request in response to a clear user action, and provide a useful experience when permission is denied. Applications embedded in an iframe also need an appropriate Permissions Policy and iframe configuration before the embedded origin can request access.&lt;/p&gt;

&lt;p&gt;HTTPS protects delivery of the application and its calls to HTTPS endpoints. It does not replace WebRTC’s media encryption. The page, signaling channel, and peer connection are separate security layers that work together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Signaling Security, CORS, and Secure WebSockets
&lt;/h2&gt;

&lt;p&gt;Signaling coordinates a WebRTC session, but signaling is not defined by the WebRTC specification. An application usually exchanges offers, answers, ICE candidates, and session-control messages through an HTTPS API or secure WebSocket connection.&lt;/p&gt;

&lt;p&gt;Protect the signaling server or service as carefully as any other authenticated application endpoint:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use HTTPS or WSS in production.&lt;/li&gt;
&lt;li&gt;Authenticate the user before allowing a publish or subscribe action.&lt;/li&gt;
&lt;li&gt;Authorize the specific room, stream, and role rather than checking only that the user is signed in.&lt;/li&gt;
&lt;li&gt;Use short-lived, narrowly scoped credentials where practical.&lt;/li&gt;
&lt;li&gt;Validate signaling messages and reject unexpected state transitions.&lt;/li&gt;
&lt;li&gt;Apply rate limits and protect session identifiers against guessing and reuse.&lt;/li&gt;
&lt;li&gt;Avoid placing long-lived secrets in client-side code or URLs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What CORS Does and Does Not Do
&lt;/h3&gt;

&lt;p&gt;Cross-Origin Resource Sharing, or CORS, is a browser mechanism that lets a server state which web origins may read responses to cross-origin requests. It matters when a WebRTC application calls an HTTP API on a different origin. CORS is not a user-authentication system, and an permissive CORS policy does not grant legitimate business authorization by itself.&lt;/p&gt;

&lt;p&gt;WebSockets are not governed by the CORS protocol in the same way as &lt;code&gt;fetch()&lt;/code&gt; requests. A WebSocket server should validate the &lt;code&gt;Origin&lt;/code&gt; header, authenticate the session, and reject origins it does not trust. WSS encrypts the signaling connection in transit, while application authorization decides what that connection may do.&lt;/p&gt;

&lt;p&gt;Do not solve cross-origin errors by allowing every origin together with credentials. Maintain an explicit production allowlist and test it whenever domains, CDNs, or application environments change.&lt;/p&gt;

&lt;h2&gt;
  
  
  ICE, STUN, and TURN Security
&lt;/h2&gt;

&lt;p&gt;Interactive Connectivity Establishment, or ICE, gathers possible network paths and tests candidate pairs until the peers find a working route. Candidates can represent a local interface, an address discovered through STUN, or a relay allocated through TURN.&lt;/p&gt;

&lt;p&gt;STUN helps a client learn its server-reflexive address. TURN relays traffic when a direct path cannot be established or when policy requires a relay. TURN is not simply a performance fallback: it is an operational dependency for users behind restrictive NATs and firewalls. Because TURN and WebRTC connections must operate across varying network conditions, understanding the relationship between available bandwidth and delivery delay is also important; see our guide to &lt;a href="https://www.red5.net/blog/bandwidth-vs-latency/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;bandwidth vs latency&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For production deployments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Operate sufficient TURN capacity in the regions your users need.&lt;/li&gt;
&lt;li&gt;Use authenticated, preferably time-limited TURN credentials instead of publishing a permanent shared password.&lt;/li&gt;
&lt;li&gt;Restrict allowed transports and relay behavior to the requirements of the application.&lt;/li&gt;
&lt;li&gt;Monitor allocation volume, bandwidth, authentication failures, and unusual geographic patterns.&lt;/li&gt;
&lt;li&gt;Keep TURN software patched and protect its administrative interfaces.&lt;/li&gt;
&lt;li&gt;Test UDP and TCP/TLS relay paths from restrictive networks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ICE candidates can disclose network information needed to establish connectivity. Applications should avoid logging or exposing candidate data unnecessarily and should apply their normal privacy, retention, and access policies to signaling logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What WebRTC Does Not Secure Automatically
&lt;/h2&gt;

&lt;p&gt;WebRTC’s mandatory transport encryption solves an important problem, but it is not a complete application security model.&lt;/p&gt;

&lt;h3&gt;
  
  
  Identity and Authorization
&lt;/h3&gt;

&lt;p&gt;Encryption protects a connection; it does not decide whether the person on that connection is allowed to publish a stream, enter a private room, control a camera, or view premium content. Map authenticated identities to explicit permissions and enforce those permissions on the server for every sensitive action.&lt;/p&gt;

&lt;h3&gt;
  
  
  End-to-End Encryption Through Media Servers
&lt;/h3&gt;

&lt;p&gt;A selective forwarding unit, media server, or streaming platform may terminate WebRTC connections. Each client-to-server leg can be encrypted, but the server may access unencrypted media in memory. If the threat model requires the server to be unable to read media, the application needs an additional end-to-end encryption design, compatible clients, key management, and a clear decision about which server-side features must be sacrificed or adapted.&lt;/p&gt;

&lt;p&gt;Do not label a service end-to-end encrypted merely because every network hop uses DTLS-SRTP. State the trusted endpoints and where media can be decrypted.&lt;/p&gt;

&lt;h3&gt;
  
  
  Recordings, Transcoding, and Protocol Conversion
&lt;/h3&gt;

&lt;p&gt;When a platform records, &lt;a href="https://www.red5.net/blog/what-is-transcoding/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;transcodes&lt;/a&gt;, composites, analyzes, or converts a WebRTC stream, the media leaves the protection boundary of the original peer connection inside a trusted service. Protect resulting files and intermediate data with encryption at rest, strict access control, retention limits, audit logs, and secure deletion procedures.&lt;/p&gt;

&lt;h3&gt;
  
  
  Application and Supply-Chain Risks
&lt;/h3&gt;

&lt;p&gt;Cross-site scripting can let malicious code operate with the privileges of the application. Vulnerable dependencies, leaked tokens, weak APIs, exposed dashboards, and insecure cloud storage can undermine an otherwise correct WebRTC connection. Use a Content Security Policy, dependency and container scanning, secure secret storage, timely patching, least-privilege service accounts, and regular security testing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Metadata and Privacy
&lt;/h3&gt;

&lt;p&gt;Encryption does not hide every fact about a session. Participants and infrastructure may still observe IP addresses, timing, traffic volume, device characteristics, account data, and operational logs. Collect only what the service needs, disclose the purpose, limit retention, and protect access to analytics and support tooling.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Red5 Fits Into a Secure WebRTC Workflow
&lt;/h2&gt;

&lt;p&gt;Red5 provides live streaming solutions for developers, startups, and enterprises that need to publish, route, and play real-time video. &lt;a href="https://www.red5.net/red5-cloud-low-latency-live-streaming-platform/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;Red5 Cloud&lt;/a&gt; is the managed platform option, while &lt;a href="https://www.red5.net/red5-pro/low-latency-streaming-software/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt; gives teams more control over a self-managed deployment. Both can participate as WebRTC peers in a media workflow and connect browser publishers or subscribers to a larger streaming pipeline.&lt;/p&gt;

&lt;p&gt;In this architecture, a browser establishes an encrypted WebRTC connection to a Red5 endpoint. Red5 can then route the stream, create subscriber connections, or perform enabled server-side functions. Each WebRTC leg is protected, but Red5 is a trusted media endpoint rather than an invisible end-to-end-encrypted pass-through. That distinction matters when a workflow includes recording, transcoding, analytics, protocol conversion, or other processing.&lt;/p&gt;

&lt;p&gt;Red5 simplifies WebRTC transport and streaming orchestration, but application owners still need to configure HTTPS and secure signaling, authenticate users, authorize publish and subscribe operations, protect TURN credentials, restrict administrative access, patch infrastructure, and secure stored media. Teams using Red5 Pro should follow the current &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/installation/ssl/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;SSL configuration documentation&lt;/a&gt; for their deployment. Teams using Red5 Cloud should apply the identity, token, and application controls documented for the managed service.&lt;/p&gt;

&lt;p&gt;The open-source Red5 Media Server is a separate product and does not provide the WebRTC capabilities described in this section. Use Red5 Cloud or Red5 Pro when the workflow requires supported WebRTC publishing and playback.&lt;/p&gt;

&lt;h2&gt;
  
  
  WebRTC Security Checklist
&lt;/h2&gt;

&lt;p&gt;Use this checklist before production launch and repeat it after meaningful architecture or dependency changes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Serve every production page and API endpoint over HTTPS with valid, monitored certificates.&lt;/li&gt;
&lt;li&gt;Use WSS or another authenticated, encrypted signaling transport.&lt;/li&gt;
&lt;li&gt;Validate signaling origins and messages; do not treat CORS as authentication.&lt;/li&gt;
&lt;li&gt;Require authentication and enforce stream-, room-, and role-level authorization on the server.&lt;/li&gt;
&lt;li&gt;Use short-lived, scoped session and TURN credentials where practical.&lt;/li&gt;
&lt;li&gt;Provide TURN capacity and test relay paths from restrictive networks.&lt;/li&gt;
&lt;li&gt;Keep media servers, TURN servers, dependencies, operating systems, and containers patched.&lt;/li&gt;
&lt;li&gt;Restrict administrative interfaces by network and identity, with strong multifactor authentication where supported.&lt;/li&gt;
&lt;li&gt;Protect recordings, thumbnails, transcripts, logs, and analytics data at rest and in transit.&lt;/li&gt;
&lt;li&gt;Apply rate limits, abuse controls, input validation, and monitoring to signaling and data channels.&lt;/li&gt;
&lt;li&gt;Decide whether transport encryption is sufficient or true end-to-end encryption is required.&lt;/li&gt;
&lt;li&gt;Document trusted endpoints, media-processing boundaries, data retention, and incident procedures.&lt;/li&gt;
&lt;li&gt;Test permission-denied paths, expired credentials, revoked users, certificate renewal, and TURN failure.&lt;/li&gt;
&lt;li&gt;Run security reviews and penetration tests that cover the application, not only the WebRTC transport.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is WebRTC encrypted by default?
&lt;/h3&gt;

&lt;p&gt;WebRTC requires encrypted transport for standards-compliant connections. Audio and video use SRTP with keying material established through DTLS-SRTP, while data channels use SCTP over DTLS. This protects traffic between the endpoints of each peer connection, but it does not automatically protect recordings, signaling data, application APIs, or media inside a trusted server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is WebRTC end-to-end encrypted?
&lt;/h3&gt;

&lt;p&gt;WebRTC is encrypted between the endpoints of each peer connection. In a direct peer-to-peer call, those endpoints may be the users’ devices. When a media server terminates separate connections, every leg may be encrypted while the server can access the media. True end-to-end encryption requires an additional design that keeps keys away from the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between DTLS and SRTP in WebRTC?
&lt;/h3&gt;

&lt;p&gt;DTLS authenticates the WebRTC peers and establishes keying material. SRTP uses derived keys to protect real-time audio and video, including confidentiality, integrity, and replay protection. Data channels follow a different path: SCTP messages are protected directly by DTLS rather than by SRTP.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does WebRTC require HTTPS?
&lt;/h3&gt;

&lt;p&gt;Browser camera and microphone access through &lt;code&gt;getUserMedia()\&lt;/code&gt; generally requires a secure context, so production applications should be served over HTTPS. Secure delivery also protects the application’s code and HTTPS APIs. HTTPS does not carry the WebRTC media itself; the peer connection uses its own DTLS, SRTP, and ICE mechanisms.&lt;/p&gt;

&lt;h3&gt;
  
  
  Are STUN and TURN secure?
&lt;/h3&gt;

&lt;p&gt;STUN and TURN are connectivity tools, not complete application-security systems. TURN can authenticate allocations and can operate over protected transports, but operators must secure credentials, patch the service, restrict abuse, and monitor bandwidth. Use time-limited credentials and test the relay paths required by your users and networks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does CORS secure a WebRTC application?
&lt;/h3&gt;

&lt;p&gt;No. CORS controls whether browser JavaScript from one origin can read certain cross-origin HTTP responses. It does not authenticate users or authorize access to a stream. A secure WebRTC application also needs protected signaling, origin validation, authentication, server-side authorization, input validation, rate limits, and secure infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;WebRTC security starts with strong mandatory transport protection. DTLS-SRTP encrypts audio and video, DTLS protects data channels, and browser secure-context rules help protect device access. Those controls make WebRTC a solid basis for real-time communications, but they do not secure the full application on their own.&lt;/p&gt;

&lt;p&gt;Build the rest of the system around that foundation: protect signaling, verify identity, enforce authorization, secure STUN and TURN operations, harden media infrastructure, and define what happens wherever media is decrypted or stored. If you are building a WebRTC streaming application and need help designing a secure, scalable workflow, &lt;a href="https://www.red5.net/contact/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20Security%3A%20Encryption%2C%20DTLS%2C%20SRTP%2C%20and%20Risks" rel="noopener noreferrer"&gt;contact Red5&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>WebRTC vs RTMP: Which Protocol Should You Use?</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Tue, 20 Oct 2026 11:10:37 +0000</pubDate>
      <link>https://dev.to/red5/webrtc-vs-rtmp-which-protocol-should-you-use-220b</link>
      <guid>https://dev.to/red5/webrtc-vs-rtmp-which-protocol-should-you-use-220b</guid>
      <description>&lt;p&gt;WebRTC vs RTMP is not always an either-or decision. RTMP and its encrypted variant, RTMPS, remain practical choices for sending video from encoders such as OBS Studio to a media server. WebRTC is generally the better fit when viewers or participants need interactive, real-time video in a browser or mobile application.&lt;/p&gt;

&lt;p&gt;Many live streaming applications therefore use both: RTMP or RTMPS for contribution and WebRTC for delivery. The right architecture depends on who publishes the stream, where it must play, how much interaction the experience requires, and how the system will scale.&lt;/p&gt;

&lt;h2&gt;
  
  
  WebRTC vs RTMP at a Glance
&lt;/h2&gt;

&lt;p&gt;If you need a quick rule, use WebRTC when the audience must see and respond to video in real time. Use RTMP or RTMPS when an existing encoder needs a widely supported way to publish a stream. Use both when your contribution and playback requirements differ.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is RTMP?
&lt;/h2&gt;

&lt;p&gt;RTMP stands for Real-Time Messaging Protocol. It was originally developed for communication between Flash Player and a server, but its current value is different. Although modern browsers do not natively play RTMP streams, the protocol remains widely used as an ingest protocol for live video.&lt;/p&gt;

&lt;p&gt;Software encoders such as &lt;a href="https://obsproject.com/" rel="noopener noreferrer"&gt;OBS Studio&lt;/a&gt; and many hardware encoders can publish to an RTMP endpoint. A media server or streaming platform receives that feed and then converts, packages, or redistributes it for viewers through another protocol.&lt;/p&gt;

&lt;p&gt;RTMP uses TCP, which delivers bytes reliably and in order. When packets are lost, retransmission can delay subsequent data. That behavior can be useful for maintaining an intact contribution feed, but it is less suited to highly interactive playback on variable networks than a real-time media stack designed to adapt around delay and loss.&lt;/p&gt;

&lt;p&gt;The security distinction matters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;rtmp://&lt;/code&gt; does not encrypt the connection.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rtmps://&lt;/code&gt; carries RTMP over TLS and should be preferred whenever the publisher and destination support it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;RTMP is therefore not obsolete, but its role has narrowed. It remains useful between encoders and ingest servers rather than as a modern browser-delivery protocol. For a deeper explanation, read &lt;a href="https://www.red5.net/blog/what-is-rtmp-streaming-protocol/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20vs%20RTMP%3A%20Which%20Protocol%20Should%20You%20Use%3F" rel="noopener noreferrer"&gt;What Is RTMP Streaming?&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is WebRTC?
&lt;/h2&gt;

&lt;p&gt;WebRTC stands for Web Real-Time Communication. It is a collection of browser APIs and real-time protocols for sending audio, video, and application data between compatible endpoints. The &lt;a href="https://www.w3.org/TR/webrtc/" rel="noopener noreferrer"&gt;W3C WebRTC Recommendation&lt;/a&gt; defines the browser-facing API, while related IETF standards define the protocols used underneath it.&lt;/p&gt;

&lt;p&gt;WebRTC is available in current major browsers and gives web applications controlled access to cameras and microphones. It is built for real-time communication and includes mandatory encryption for media transport. This makes it suitable for experiences in which delay directly affects the conversation or action, such as video conferencing, live auctions, interactive sports, remote control, and audience participation.&lt;/p&gt;

&lt;p&gt;Establishing a WebRTC connection is more involved than entering a server URL and stream key. Interactive Connectivity Establishment (ICE) determines how endpoints can communicate across firewalls and Network Address Translation. It can use STUN to discover reachable addresses and TURN to relay traffic when a direct path cannot be established. The &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/WebRTC%5FAPI/Protocols" rel="noopener noreferrer"&gt;MDN introduction to WebRTC protocols&lt;/a&gt; explains these components in more detail.&lt;/p&gt;

&lt;p&gt;WebRTC is often described as peer-to-peer, but production applications do not have to connect every participant directly to every other participant. Multi-party and large-scale systems commonly introduce media servers such as Selective Forwarding Units (SFUs) to route streams efficiently and adapt delivery to different devices and network conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Differences Between WebRTC and RTMP
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Latency and Network Behavior
&lt;/h3&gt;

&lt;p&gt;WebRTC is designed around real-time interaction. Its media transport, congestion control, jitter handling, and feedback mechanisms prioritize keeping a session responsive as network conditions change. Packet loss can reduce momentary quality without necessarily forcing all later media to wait.&lt;/p&gt;

&lt;p&gt;RTMP sends data over TCP. TCP retransmits missing data and preserves delivery order, so a loss event can add delay while later data waits. Actual glass-to-glass latency still depends on the complete workflow, including encoding, buffering, server processing, transcoding, network distance, and player behavior. The protocol alone does not guarantee a specific latency.&lt;/p&gt;

&lt;p&gt;For a one-way contribution feed from a controlled encoder, RTMP can be entirely appropriate. For a participant who must react to live video, WebRTC usually provides the more suitable delivery path.&lt;/p&gt;

&lt;h3&gt;
  
  
  Browser and Encoder Compatibility
&lt;/h3&gt;

&lt;p&gt;WebRTC is integrated into current major browsers and supports browser-based capture and playback without a plug-in. That is a major change from the early browser landscape described in the original version of this article.&lt;/p&gt;

&lt;p&gt;RTMP no longer plays natively in modern browsers, but it retains broad support across live production tools. OBS Studio, hardware encoders, cameras, and established broadcast workflows often provide RTMP or RTMPS publishing. This makes RTMP a convenient bridge from existing contribution equipment into a newer delivery stack.&lt;/p&gt;

&lt;p&gt;The endpoint requirements should drive the choice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If a presenter publishes from a browser or mobile application, WebRTC can handle capture and contribution.&lt;/li&gt;
&lt;li&gt;If a production team publishes from OBS or a hardware encoder, RTMP or RTMPS may require less integration work.&lt;/li&gt;
&lt;li&gt;If viewers watch in a browser and need real-time interaction, deliver with WebRTC even when the source arrives through RTMP.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Security
&lt;/h3&gt;

&lt;p&gt;WebRTC requires secure media transport. Implementations use DTLS to establish keys and SRTP to protect real-time audio and video. Applications still need their own authentication, authorization, session controls, and secure signaling, but unencrypted WebRTC media is not a normal deployment option.&lt;/p&gt;

&lt;p&gt;Basic RTMP provides no transport encryption. RTMPS adds TLS protection between the publisher and ingest endpoint. This protects the connection in transit, but it does not replace application-level access controls or determine how the stream is protected after ingest.&lt;/p&gt;

&lt;p&gt;Comparing “secure WebRTC” with unencrypted RTMP can therefore be misleading. A practical security review should compare the complete deployments, including whether RTMPS is enabled, how keys and tokens are managed, who can publish or subscribe, and where media is decrypted or transformed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Scaling and Architecture
&lt;/h3&gt;

&lt;p&gt;Neither protocol solves audience scaling by itself. WebRTC can establish a direct connection between endpoints, but direct peer meshes become inefficient as each participant must send media to more peers. Production systems typically use SFUs, media servers, regional infrastructure, or other routing architectures.&lt;/p&gt;

&lt;p&gt;RTMP is usually only the first leg of a one-to-many workflow. The receiving platform must replicate, transcode, or repackage the stream and deliver it through WebRTC, HLS, or another playback protocol. Scaling therefore depends on the media infrastructure around the protocol, not simply on choosing RTMP.&lt;/p&gt;

&lt;p&gt;Adaptive bitrate delivery also requires more than a protocol name. A service may create multiple renditions, use simulcast or scalable video coding, and select an appropriate version for each viewer. The available approach depends on the publisher, codecs, server, player, and delivery architecture.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Should You Use WebRTC?
&lt;/h2&gt;

&lt;p&gt;Choose WebRTC when the experience depends on immediate communication or control. Common examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Video conferencing and group communication&lt;/li&gt;
&lt;li&gt;Live commerce and auctions where reactions affect the event&lt;/li&gt;
&lt;li&gt;Interactive sports, betting, and second-screen experiences&lt;/li&gt;
&lt;li&gt;Remote production, robotics, drones, and device control&lt;/li&gt;
&lt;li&gt;Telehealth, customer support, and expert assistance&lt;/li&gt;
&lt;li&gt;Browser or mobile publishing without a separate encoder&lt;/li&gt;
&lt;li&gt;Real-time data synchronized with audio and video&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;WebRTC is not automatically the simplest option. You must plan signaling, ICE, STUN and TURN services, browser permissions, media routing, codec compatibility, adaptive delivery, and observability. A commercial platform or managed service can remove much of that infrastructure work.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Should You Use RTMP or RTMPS?
&lt;/h2&gt;

&lt;p&gt;Use RTMP or preferably RTMPS when you need to accept a feed from tools that already support it. It remains a strong option for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Publishing from OBS Studio or another software encoder&lt;/li&gt;
&lt;li&gt;Connecting hardware encoders and existing production equipment&lt;/li&gt;
&lt;li&gt;Sending a contribution feed to a streaming platform&lt;/li&gt;
&lt;li&gt;Preserving compatibility with established live production workflows&lt;/li&gt;
&lt;li&gt;Migrating an ingest workflow without replacing every publisher at once&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not choose RTMP as the final browser playback protocol. Instead, terminate the RTMP connection at a media server and deliver the stream in a format supported by the target player and use case.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Should You Use WebRTC and RTMP Together?
&lt;/h2&gt;

&lt;p&gt;A combined architecture is often the most practical answer to WebRTC vs RTMP. It allows existing encoders to keep publishing through RTMP or RTMPS while viewers receive the stream through WebRTC.&lt;/p&gt;

&lt;p&gt;A typical path looks like this:&lt;/p&gt;

&lt;p&gt;The reverse direction can also be useful. A browser or mobile application can publish with WebRTC, while the platform converts or redistributes that content for destinations that expect RTMP. Protocol interoperability lets each endpoint use a suitable interface without forcing the entire system onto one transport.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using WebRTC and RTMP With Red5
&lt;/h2&gt;

&lt;p&gt;Red5 products are live streaming solutions for developers, startups, and enterprises that need to build protocol workflows into an application rather than simply stream to a social platform.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/red5-cloud-low-latency-live-streaming-platform/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20vs%20RTMP%3A%20Which%20Protocol%20Should%20You%20Use%3F" rel="noopener noreferrer"&gt;Red5 Cloud&lt;/a&gt; is the easier managed option. It provides hosted streaming infrastructure and is appropriate when a team wants to start quickly without operating its own server deployment. The &lt;a href="https://www.red5.net/docs/red5-cloud/getting-started/quick-start-guide/red5-cloud-rtmp-step-by-step-from-zero-to-streaming-with-red5-cloud/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20vs%20RTMP%3A%20Which%20Protocol%20Should%20You%20Use%3F" rel="noopener noreferrer"&gt;Red5 Cloud RTMP quick-start guide&lt;/a&gt; shows how to create an endpoint, publish an RTMP feed, and play the stream.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.red5.net/red5-pro/low-latency-streaming-software/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20vs%20RTMP%3A%20Which%20Protocol%20Should%20You%20Use%3F" rel="noopener noreferrer"&gt;Red5 Pro&lt;/a&gt; is the advanced self-managed option for teams that need greater control over deployment, infrastructure, customization, and integrations. Its documentation includes instructions for &lt;a href="https://www.red5.net/docs/red5-pro/users-guide/protocols/third-party-publishers/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=WebRTC%20vs%20RTMP%3A%20Which%20Protocol%20Should%20You%20Use%3F" rel="noopener noreferrer"&gt;publishing from third-party RTMP and RTSP encoders&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Both approaches let a development team design around endpoint requirements rather than declare one universal protocol winner. An encoder can contribute through RTMP while an interactive application uses WebRTC for delivery, or compatible clients can publish and subscribe through WebRTC throughout the workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is WebRTC faster than RTMP?
&lt;/h3&gt;

&lt;p&gt;WebRTC is generally better suited to interactive, real-time delivery, but no protocol guarantees a fixed glass-to-glass latency. Encoding, buffering, server processing, network conditions, geographic distance, and player behavior all affect the result.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is RTMP obsolete?
&lt;/h3&gt;

&lt;p&gt;RTMP is obsolete for native playback in modern browsers, but it remains widely used for contribution from software and hardware encoders. Use RTMPS when the publisher and server support it so the ingest connection is encrypted.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can WebRTC and RTMP be used together?
&lt;/h3&gt;

&lt;p&gt;Yes. A common workflow accepts RTMP or RTMPS from an encoder and delivers the stream to viewers through WebRTC. A media server bridges the protocols and handles authentication, routing, and any necessary media processing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should I use WebRTC or RTMP with OBS Studio?
&lt;/h3&gt;

&lt;p&gt;RTMP or RTMPS is usually the straightforward choice because OBS and many streaming destinations support it directly. If a destination provides a tested WebRTC publishing integration, that may also be an option, but follow the destination’s current setup documentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The WebRTC vs RTMP decision depends on the endpoints and the experience you are building. WebRTC is the stronger fit for interactive browser and application communication. RTMP and RTMPS remain useful for contribution from OBS, hardware encoders, and established production systems.&lt;/p&gt;

&lt;p&gt;For many live streaming applications, the best answer is to use both: RTMP or RTMPS for compatible ingest and WebRTC for real-time delivery. A media platform that supports protocol interoperability can connect those stages while letting developers choose managed infrastructure through Red5 Cloud or a self-managed deployment with Red5 Pro.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>H.266 vs AV1 for Live Streaming: What Codec to Choose</title>
      <dc:creator>Maria Artamonova</dc:creator>
      <pubDate>Thu, 08 Oct 2026 05:00:17 +0000</pubDate>
      <link>https://dev.to/red5/h266-vs-av1-for-live-streaming-what-codec-to-choose-5g2k</link>
      <guid>https://dev.to/red5/h266-vs-av1-for-live-streaming-what-codec-to-choose-5g2k</guid>
      <description>&lt;p&gt;&lt;strong&gt;H.266 vs AV1 is a choice between potential compression gains and ecosystem readiness.&lt;/strong&gt; H.266, also called Versatile Video Coding (VVC), is designed for demanding video applications, including ultra-high-definition and immersive media. AV1 is generally the more practical option for internet-facing streaming when an open specification, current browser support, and broader implementation availability matter.&lt;/p&gt;

&lt;p&gt;The better codec depends on the complete workflow: encoding speed, hardware acceleration, target devices, licensing, protocols, latency requirements, storage, delivery cost, and fallback support. This guide compares H.266 vs. AV1 for developers and streaming engineers without declaring one universal winner.&lt;/p&gt;

&lt;h2&gt;
  
  
  H.266 vs. AV1: The Short Answer
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Choose AV1 first&lt;/strong&gt; for modern web delivery, bandwidth-sensitive streaming, and audiences using newer browsers and devices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluate H.266&lt;/strong&gt; for controlled-device, high-resolution, immersive, or future-focused deployments where compatible encoders and decoders can be guaranteed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use multiple codecs&lt;/strong&gt; when the audience includes both modern and legacy devices. Capability detection and fallbacks are safer than assuming universal support.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Developers Are Using in 2026
&lt;/h2&gt;

&lt;p&gt;Recent production data shows a much larger adoption gap between AV1 and H.266/VVC than their status as two next-generation codecs might suggest. &lt;a href="https://www.streamingmediablog.com/2026/03/netint-encoding-survey.html" rel="noopener noreferrer"&gt;NETINT’s 2026 State of Video Encoding survey&lt;/a&gt; found &lt;strong&gt;AV1 in production at 17%&lt;/strong&gt; of responding organizations, with another &lt;strong&gt;40% planning deployment in 2026&lt;/strong&gt;, bringing its combined production and planned reach to &lt;strong&gt;57%&lt;/strong&gt;. H.266/VVC was in production at just &lt;strong&gt;4%&lt;/strong&gt;, although &lt;strong&gt;29% planned deployment&lt;/strong&gt;, for a combined reach of &lt;strong&gt;33%&lt;/strong&gt;. The survey describes AV1 as moving from early-adopter experimentation toward mainstream deployment, while VVC remains largely in the evaluation stage. State-of-Video-Encoding-Report&lt;/p&gt;

&lt;p&gt;The barriers are also different. &lt;strong&gt;Hardware decode support&lt;/strong&gt; remains a challenge for both codecs, cited by &lt;strong&gt;54% for AV1 and 59% for VVC&lt;/strong&gt;. AV1 respondents reported more concern about toolchain limitations and encoding compute costs, while VVC faced a much larger licensing barrier: &lt;strong&gt;44% cited licensing or royalties for VVC compared with less than 1% for AV1&lt;/strong&gt;. The data supports AV1 as the more mature deployment choice today, while H.266/VVC is attracting meaningful interest but still faces ecosystem and licensing hurdles before broader production adoption.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Are H.266/VVC and AV1?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.itu.int/rec/T-REC-H.266" rel="noopener noreferrer"&gt;H.266/VVC&lt;/a&gt; is an international video coding standard developed through the Joint Video Experts Team of ITU-T and ISO/IEC. VVC expands the coding tools available for applications ranging from conventional video to UHD, high dynamic range, 360-degree, and immersive content.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aomedia.org/specifications/av1/" rel="noopener noreferrer"&gt;AV1&lt;/a&gt; is an open video codec developed by the Alliance for Open Media. It targets efficient video delivery across internet, broadcast, storage, and real-time applications. A &lt;a href="https://www.red5.net/blog/what-is-a-codec/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=H.266%20vs%20AV1%20for%20Live%20Streaming%3A%20What%20Codec%20to%20Choose" rel="noopener noreferrer"&gt;video codec&lt;/a&gt; defines how video is compressed and decompressed; it is not the same thing as a streaming protocol.&lt;/p&gt;

&lt;h2&gt;
  
  
  H.266 vs. AV1 Comparison Table
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Compression Efficiency and Video Quality
&lt;/h2&gt;

&lt;p&gt;The main reason to evaluate either codec is to reduce bitrate at a target visual quality. Lower bitrate can reduce origin traffic, CDN delivery, storage requirements, and the bandwidth required by viewers. The actual result depends on the encoder, preset, content, resolution, frame rate, color format, and quality metric.&lt;/p&gt;

&lt;p&gt;Do not apply a single compression percentage to every workflow. Sports, animation, screen content, film grain, and low-light footage create different encoding challenges. A fair comparison uses the same source and comparable settings, measures objective quality with tools such as VMAF or SSIM, and includes visual review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Encoding Complexity and Hardware Support
&lt;/h2&gt;

&lt;p&gt;Higher compression efficiency can require more computation. That trade-off is easier to accept for offline video on demand than for live video, where every frame must be encoded before its playback deadline.&lt;/p&gt;

&lt;p&gt;AV1 encoding and decoding are available in newer hardware platforms, although the supported profiles, resolutions, and real-time performance vary. H.266 implementations and hardware are less widely deployed. Teams evaluating either codec should verify the exact processor, accelerator, driver, SDK, profile, resolution, frame rate, and rate-control mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  Browser and Device Compatibility
&lt;/h2&gt;

&lt;p&gt;Compatibility is often the deciding factor for internet video. AV1 playback is available in major current browsers, but support can still depend on the operating system and hardware decoder. Older devices may use more CPU, consume more battery, or require a fallback.&lt;/p&gt;

&lt;p&gt;H.266 playback is not yet as broadly available across ordinary browsers and consumer devices. It may be more practical in controlled environments where the organization manages the encoder, decoder, player, and endpoint hardware. Browser playback support also does not prove that a browser can capture or publish the codec efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Licensing and Operational Cost
&lt;/h2&gt;

&lt;p&gt;AV1 was published as a royalty-free specification. H.266/VVC is associated with patent licensing programs whose obligations can vary by product, implementation, distribution model, and territory. Development teams should obtain legal advice for their exact use case rather than treating either label as a complete licensing analysis.&lt;/p&gt;

&lt;p&gt;Licensing is only one part of codec cost. Model encoder capacity, hardware acceleration, storage, bandwidth, transcoding, monitoring, and fallback renditions together. A codec that reduces delivery bitrate but substantially increases real-time compute may not reduce the total operating cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  H.266 vs. AV1 for Live Streaming
&lt;/h2&gt;

&lt;p&gt;For live streaming, the codec must work across the complete glass-to-glass path. The encoder must meet its frame deadline, the media server must accept or process the stream, the transport must carry it, and the player must decode it without excessive buffering.&lt;/p&gt;

&lt;p&gt;The codec does not determine latency by itself. GOP structure, rate control, transcoding, network conditions, the transport protocol, adaptive bitrate logic, buffering, and player behavior all contribute to &lt;a href="https://www.red5.net/blog/what-is-ultra-low-latency-why-does-it-matter/?utm_campaign=19381420-Blog%20repost&amp;amp;utm_source=Referral&amp;amp;utm_medium=Dev.to&amp;amp;utm_term=H.266%20vs%20AV1%20for%20Live%20Streaming%3A%20What%20Codec%20to%20Choose" rel="noopener noreferrer"&gt;end-to-end streaming latency&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;AV1 is generally the more practical codec to evaluate first for internet-facing streaming when the audience uses modern browsers and devices. H.266 is worth testing when endpoints are controlled or when specialized high-resolution and immersive workloads justify the additional ecosystem constraints.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Codec Should You Choose?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Choose AV1 when:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Your audience primarily uses current browsers and newer devices.&lt;/li&gt;
&lt;li&gt;Bandwidth, storage, or delivery cost is a major constraint.&lt;/li&gt;
&lt;li&gt;An open, royalty-free specification is important to the product strategy.&lt;/li&gt;
&lt;li&gt;You can maintain an appropriate fallback for unsupported endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Evaluate H.266 when:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You control the playback devices and software.&lt;/li&gt;
&lt;li&gt;UHD, immersive, or specialized delivery justifies testing a newer codec.&lt;/li&gt;
&lt;li&gt;You can source compatible encoders, decoders, players, and monitoring tools.&lt;/li&gt;
&lt;li&gt;You are prepared to operate fallback or transcoding paths.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Test H.266 vs. AV1
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Select representative content, including motion, fine detail, graphics, and low-light scenes.&lt;/li&gt;
&lt;li&gt;Encode both codecs at matched quality targets and equivalent resolution, frame rate, and color format.&lt;/li&gt;
&lt;li&gt;Measure bitrate, visual quality, encoding delay, CPU or GPU use, memory, and cost.&lt;/li&gt;
&lt;li&gt;Test decoding on the actual browser, phone, television, and managed-device mix.&lt;/li&gt;
&lt;li&gt;Test the full ingest-to-player workflow, including recording, transcoding, adaptive bitrate, and fallback behavior.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is H.266 better than AV1?
&lt;/h3&gt;

&lt;p&gt;Not universally. H.266 may be attractive for specialized high-resolution or immersive workflows, while AV1 currently offers a more practical ecosystem for many internet-facing applications. Test both with representative content and endpoints.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which codec is better for live streaming?
&lt;/h3&gt;

&lt;p&gt;AV1 is generally the more practical starting point for modern internet delivery. H.266 can make sense when an organization controls its encoders and playback devices or has specialized efficiency requirements.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does H.266 reduce streaming latency?
&lt;/h3&gt;

&lt;p&gt;No codec guarantees lower end-to-end latency. Encoding settings, GOP structure, transcoding, transport, network conditions, buffering, adaptive bitrate behavior, and the player all influence latency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;H.266 vs AV1 is a trade-off between potential compression efficiency and ecosystem readiness. AV1 is usually the safer codec to evaluate first for internet-facing live streaming, while H.266 deserves targeted testing for controlled, high-resolution, immersive, or future-focused deployments. Benchmark the complete workflow and keep a fallback plan before making either codec part of a production architecture.&lt;/p&gt;

</description>
      <category>livestreaming</category>
      <category>software</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
