<?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: Balazs Jantek</title>
    <description>The latest articles on DEV Community by Balazs Jantek (@balazs_jantek_8677186e05e).</description>
    <link>https://dev.to/balazs_jantek_8677186e05e</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%2Fuser%2Fprofile_image%2F2770929%2Fa786a58c-2be6-4833-8379-c034700f39a0.jpg</url>
      <title>DEV Community: Balazs Jantek</title>
      <link>https://dev.to/balazs_jantek_8677186e05e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/balazs_jantek_8677186e05e"/>
    <language>en</language>
    <item>
      <title>From NDI to WebRTC in 5 steps</title>
      <dc:creator>Balazs Jantek</dc:creator>
      <pubDate>Fri, 20 Nov 2026 08:02:29 +0000</pubDate>
      <link>https://dev.to/balazs_jantek_8677186e05e/from-ndi-to-webrtc-in-5-steps-15ol</link>
      <guid>https://dev.to/balazs_jantek_8677186e05e/from-ndi-to-webrtc-in-5-steps-15ol</guid>
      <description>&lt;p&gt;Your NDI® camera, switcher, or production software can play in a viewer’s browser over WebRTC, with no encoder in the middle converting the feed to RTMP or SRT first. Ant Media Server Enterprise discovers NDI sources on your network, ingests the feed directly, and delivers it to online viewers.&lt;/p&gt;

&lt;p&gt;The five steps below take one NDI source from your LAN to WebRTC playback in a browser. The walkthrough uses an Android NDI camera app. Only Step 2 changes if your source is NDI Tools’ Test Patterns, OBS Studio, or an NDI-enabled studio camera or switcher.&lt;/p&gt;

&lt;p&gt;NDI (Network Device Interface) is a technology for sending and receiving live video and audio over IP networks. Production teams use it in broadcast studios, live events, houses of worship, education, and corporate video to move media between devices and applications without dedicated point-to-point video cabling.&lt;/p&gt;

&lt;p&gt;An NDI source can be a studio or PTZ camera, video switcher, encoder, or software workstation. Production tools such as vMix and OBS Studio with an NDI plugin can also provide NDI output. Available features depend on the device, software, and NDI implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why ingest NDI directly into Ant Media Server?
&lt;/h2&gt;

&lt;p&gt;When a media server cannot ingest NDI directly, teams need an intermediate application or device to convert the feed into a supported protocol, such as RTMP or SRT. That adds another component to configure, monitor, and maintain.&lt;/p&gt;

&lt;p&gt;Ant Media Server introduced NDI ingest in version 3.1.0, responding to customers who wanted a simpler connection between their production networks and online audiences. In Enterprise Edition, you can select a discovered NDI source in the dashboard and create a live stream from it.&lt;/p&gt;

&lt;p&gt;The workflow is straightforward: NDI camera or production application → Ant Media Server → viewers. The production side keeps using NDI, while the audience receives a playback format suited to its needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;WebRTC for interactive viewing with low latency.&lt;/li&gt;
&lt;li&gt;HLS for broad player compatibility.&lt;/li&gt;
&lt;li&gt;LL-HLS for lower-latency HLS playback.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The walkthrough below uses WebRTC.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do you need to stream NDI to WebRTC?
&lt;/h2&gt;

&lt;p&gt;Ant Media Server Enterprise 3.1.0 or later, with access to its web panel. Without a license, a 14-day Enterprise evaluation covers every step here, including WebRTC playback.&lt;br&gt;
An NDI sender on the same local network. This guide uses an Android NDI camera app. You can also use NDI Tools’ Test Patterns utility, an NDI camera or switcher, or a production application with NDI output enabled.&lt;br&gt;
In this guide we’ll run Ant Media Server in the same local network where the NDI source is. If your server is in the cloud or your source is on another network, read the WAN section before continuing.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you send NDI to WebRTC?
&lt;/h2&gt;

&lt;p&gt;You send NDI to WebRTC by adding the NDI source as a live stream in Ant Media Server, which ingests the feed and plays it in the browser. The process takes five steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Enable mDNS discovery on the server.&lt;/li&gt;
&lt;li&gt;Start an NDI source on the same LAN.&lt;/li&gt;
&lt;li&gt;Open your application in the dashboard.&lt;/li&gt;
&lt;li&gt;Add the NDI source as a live stream.&lt;/li&gt;
&lt;li&gt;Play the stream with WebRTC.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  1. Enable discovery
&lt;/h2&gt;

&lt;p&gt;Install and start Ant Media Server Enterprise, then open its web panel in your browser and sign in.&lt;/p&gt;

&lt;p&gt;On Ubuntu, Ant Media Server uses avahi-daemon for mDNS discovery. If it is not installed and running, install the packages and enable the service:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;br&gt;
sudo apt install -y avahi-daemon avahi-utils&lt;br&gt;
sudo systemctl enable --now avahi-daemon&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Allow mDNS traffic on UDP port 5353 on the local network. Firewalls must also allow the NDI media connection between the sender and server; allowing discovery traffic alone is not enough to carry the stream.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Start an NDI source
&lt;/h2&gt;

&lt;p&gt;For the Android camera example, connect your phone to the same network as the server using Wi-Fi. Open the camera app and start broadcasting. Keep the app running while you configure the stream and test playback.&lt;/p&gt;

&lt;p&gt;Alternatively, install NDI Tools on a computer on the same LAN and launch Test Patterns. Leave it running to publish a generated test pattern as an NDI source.&lt;/p&gt;

&lt;p&gt;To send your OBS Studio program feed, install the NDI Runtime and the DistroAV plugin, restart OBS, then open Tools &amp;gt; DistroAV NDI® Settings, check Main Output, and give the output a name. NDI sources are listed by machine and output name, for example STUDIO-PC (OBS Program), so a clear name makes the source easy to pick in Step 4.&lt;/p&gt;

&lt;p&gt;For an NDI-enabled PTZ or studio camera, or a hardware switcher, turn on NDI output in the device’s web interface or setup menu. Menu names differ by manufacturer, so check the device manual. The rest of this guide is the same for every sender.&lt;/p&gt;

&lt;p&gt;Android NDI camera app broadcasting a live NDI source over Wi-Fi to Ant Media Server&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Log in and open your application
&lt;/h2&gt;

&lt;p&gt;In the Ant Media Server web panel, open the application where you want the stream to appear, such as LiveApp, and select its Live Streams tab. The available NDI sources depend on the network that the Ant Media Server instance can access.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Add the NDI source as a live stream
&lt;/h2&gt;

&lt;p&gt;Open New Live Stream and choose NDI Stream. Depending on your dashboard version, the add-stream control may have a slightly different label.&lt;/p&gt;

&lt;p&gt;Ant Media Server dashboard New Live Stream menu with the NDI Stream option for adding an NDI source&lt;br&gt;
The new stream should appear in the live streams list. Once the server is receiving the feed, confirm that its status shows Broadcasting. Keep the NDI sender running.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Watch the stream over WebRTC
&lt;/h2&gt;

&lt;p&gt;Open the stream’s action menu and select Play With WebRTC.&lt;/p&gt;

&lt;p&gt;NDI camera stream showing Broadcasting status in the Ant Media Server LiveApp live streams list&lt;br&gt;
In the player, select Play if playback does not start automatically. Confirm that the live camera feed or test pattern appears, and check the audio if your source provides it.&lt;/p&gt;

&lt;p&gt;NDI camera feed playing over WebRTC in the Ant Media Server web player&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you stream NDI across a WAN?
&lt;/h2&gt;

&lt;p&gt;A cloud-hosted Ant Media Server will not usually discover a studio NDI source automatically. Default mDNS discovery is local to the network, so remote workflows need both a discovery method and a working path for the media traffic.&lt;/p&gt;

&lt;p&gt;NDI Discovery Server: Configure the sender and receiver to use it for discovery without multicast. The media connection must still be reachable; discovery alone does not create that network path.&lt;br&gt;
NDI Bridge: Connect remote NDI environments across a WAN and make the source available to the receiving environment.&lt;/p&gt;

&lt;p&gt;VPN: A VPN can provide connectivity, but do not assume it forwards mDNS multicast. Plan discovery separately unless your network configuration explicitly supports it.&lt;/p&gt;

&lt;p&gt;NDI provides the discovery and bridging tools. See its definitions of Discovery Server and Bridge for their roles. Confirm discovery and media connectivity before adding the source in the Ant Media Server dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you fix NDI discovery and playback problems?
&lt;/h2&gt;

&lt;p&gt;If the source is missing from the dashboard, check that the sender is running and that mDNS discovery can reach the server.&lt;br&gt;
If the source is listed but the stream does not broadcast, check NDI media connectivity.&lt;/p&gt;

&lt;p&gt;If it is broadcasting but WebRTC playback fails, check the connection between the browser and Ant Media Server. The Ant Media Server logs can help identify where the connection fails.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do you do once your NDI feed is live?
&lt;/h2&gt;

&lt;p&gt;Move the camera, or wave at it, and watch the browser follow. That picture is the same signal your NDI sender puts on the production network. It reached the player as WebRTC, with no RTMP or SRT encoder in between.&lt;/p&gt;

&lt;p&gt;Next step: put the player where your viewers are. Copy the stream’s embed code from the dashboard and paste it into your own web page. The player loads from &lt;a href="https://your-server:5443/LiveApp/play.html?id=your-stream-id" rel="noopener noreferrer"&gt;https://your-server:5443/LiveApp/play.html?id=your-stream-id&lt;/a&gt;, and the embedded player guide covers SSL and token-protected playback.&lt;/p&gt;

&lt;p&gt;NDI® is a registered trademark of Vizrt NDI AB.&lt;/p&gt;

</description>
      <category>network</category>
      <category>streaming</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
