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 Managerfrom 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 theAdvancedtab and changeReceive ModefromAuto (RUDP)toSingle-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 unlessOutput Alphais ticked. If you see black or see-through areas you didn't expect, untickOutput Alpha.Output Alphaworks withBGRA(8-bit) andP216. WithP216it is sent asPA16(10-bit with alpha), which needs NDI 6 receivers.UYVYhas no alpha. For transparency, also tickAlpha OutputinProject Settings > Rendering > Default Settings.NDI Sender Manager: withBGRA, the render target's alpha is sent as it is. If your render target has no alpha, your screen may show as black. SwitchVideo Conversion FormattoUYVY, or toP216(10-bit, needs NDI 6 receivers and a float render target such asRGBA16f). 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 FPSto reduce the load, or setCadencetoCustomon theOWL NDI Outputwith aCapture Frame Ratesuch as30:
You can also check the
NDI Analysis Toolfrom the tools linked above forclock 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 setCadencetoCustomon theOWL 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 Toolkitand tickLaunch 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.