Skip to main content
NDI

NDI Troubleshooting

Fixes for NDI senders and receivers in Unreal Engine, and installing the NDI Runtime for packaged games and apps.

Last updated About 4 hours ago

This article covers fixes for NDI senders and receivers in Unreal Engine, and what you need to share NDI in a packaged project or app, including the NDI Runtime. NDI has a very helpful set of tools for finding problems, which you can download here. To set up NDI, see NDI Sender and NDI Receiver.

Wifi vs Ethernet

  • NDI doesn't currently let you choose which network connection it sends on.

  • So when both wifi and a wired connection are on, it will often use your wifi.

  • Switch off wifi when you have set up sending over Ethernet.

Firewall Blocking

  • The most common NDI problem is a firewall blocking the feed, because NDI is sent over the network.

  • If you can't see the feed arriving (in Unreal or in your receiving program), check your firewall settings.

  • You can also use NDI Access Manager from the NDI tools linked above to allow the IP addresses of your NDI feeds.

Windows UDP Bug

A Windows security update has been known to make NDI drop traffic.

  • To fix it, open NDI Access Manager, go to the Advanced tab and change Receive Mode from Auto (RUDP) to Single-TCP.

  • This uses a more stable way of connecting that avoids the Windows UDP bug.

Black Output from Sender

  • OWL NDI Output (Cinecam, 360 Camera, Media Output Wizard): the image is sent opaque unless Output Alpha is ticked. If you see black or see-through areas you didn't expect, untick Output Alpha. Output Alpha works with BGRA (8-bit) and P216. With P216 it is sent as PA16 (10-bit with alpha), which needs NDI 6 receivers. UYVY has no alpha. For transparency, also tick Alpha Output in Project Settings > Rendering > Default Settings.

  • NDI Sender Manager: with BGRA, the render target's alpha is sent as it is. If your render target has no alpha, your screen may show as black. Switch Video Conversion Format to UYVY, or to P216 (10-bit, needs NDI 6 receivers and a float render target such as RGBA16f). Neither sends alpha:

Audio Drift

  • Although it is better in NDI 6, on longer streams an overloaded CPU can let NDI audio and video drift apart.

  • To fix it, set a fixed frame rate in Unreal Engine such as 30 FPS to reduce the load, or set Cadence to Custom on the OWL NDI Output with a Capture Frame Rate such as 30:

  • You can also check the NDI Analysis Tool from the tools linked above for clock deviation.

Receiver Stutter

  • Some NDI receivers (such as vMix) need a fixed frame rate to handle your NDI feed properly. Otherwise they show major stutter and a very low frame rate.

  • To fix it, set a fixed frame rate in Unreal Engine such as 30 FPS, or set Cadence to Custom on the OWL NDI Output, so the receiver gets a steady input.

Unreal Slows Down or Goes Quiet in the Background

  • By default, Unreal lowers its frame rate and stops its audio when another program is in front. To keep it running at full speed with sound, see Live Troubleshooting.

Distributing with Your Project or App

  • NDI works in packaged projects and apps you share with others, provided each PC has the correct license (see Share a Packaged App) and the NDI Runtime (below).

Install the NDI Runtime for Games and Apps

Your users need the free NDI Runtime (version 6, 5 or 4) on their PC to use NDI in your game or app. Without it, NDI outputs and inputs are unavailable. The plugin can offer to install it for them:

  • Go to Project Settings > Plugins > Off World Live Toolkit and tick Launch NDI Installer Automatically (off by default):

  • Now, each time your app starts on a PC without the NDI Runtime, it asks the user whether to install it. If they choose Yes, the app closes, downloads the NDI 6 Runtime (this needs an internet connection) and runs its installer, which may ask them to restart their PC.