Viz Now LaunchPad
Version 1.2 | Published November 23, 2023 ©
Network Best Practices
NDI is intended to work with common off-the-shelf networking equipment. To make sure the most bandwidth is accessible, it is important to examine the network structure and settings carefully.
NDI Protocols
Reliable UDP
This is a brand-new, highly effective method of sending video and audio over a network. Real-world testing has revealed that this version of NDI and other video protocols performs flawlessly in many difficult network setups that did not work well with earlier iterations.
With state-of-the-art congestion control and loss recovery (far superior to other reliable transfer protocols used in the industry), full inter-stream bandwidth management and connection sharing, no front-of-line queue blocking, a smaller number of open ports, and fully asynchronous sending and receiving, that uses a highly optimized UDP sender that supports very high latency connections (for example, WAN or WiFi networks).
Multipath TCP
This protocol is designed to leverage hardware-accelerated network adapters with adaptive bandwidth sharing among NICs, and it allows transport across multiple NICs and all network pathways.
Multipath TCP operates across a variety of network types, including wireless and mobile, and helps to maximize throughput, resource utilization, and network redundancy. It is unaffected by adding or removing paths.
UDP with Forward Error Correction
When the reliable transmission of data packets is not necessary, this alternative protocol to TCP is utilized. In applications like streaming media, teleconferencing, and voice-over-IP (VoIP), where timeliness is more important than accuracy, UDP is frequently utilized. A technique for establishing error control in data transmission known as forward error correction (FEC) transmits duplicated data from the source (transmitter) to the recipient (receiver).
Single TCP
This protocol for network communications allows two host systems to connect, exchange data packets, and guarantee that the proper location receives the intact data packets.
NDI Ports
Port number |
Type |
Use |
5353 |
UDP |
Port used for mDNS communication |
5959 |
TCP |
NDI Discovery Server. Optional and beneficial in large configurations, when you need to connect NDI devices between subnets or if mDNS is blocked. |
5960 |
TCP |
This is a TCP port used for remote sources to query a machine and discover all of the sources running on it. This is used for instance when a machine is added by an IP address in the access manager so that from an IP address alone all of the sources currently running on that machine can be discovered automatically. |
5961 and up |
TCP |
These are the base TCP connections used for each NDI stream. For each current connection (at least one port number is used in this range). Common implementations: 5961 ~ 7000 |
5990 |
TCP |
Port used by NDI Bridge |
5960 and up |
UDP |
In version 5 and above, when using reliable UDP connections it uses a very small number of ports in the range of 5960 for UDP. These port numbers are shared with the TCP connections. Because connection sharing is used in this mode, the number of ports required is very limited and only one port is needed per NDI process running and not one port per NDI connection. |
6960 and up |
TCP/UDP |
When using multi-TCP or UDP receiving, at least one port number in this range is used for each connection. |
7960 and up |
TCP/UDP |
When using multi-TCP, unicast UDP, or multicast UDP sending, at least one port number in this range is used for each connection. |
Network Design Best Practices
Cables
-
Verify RJ-45 connectors termination quality to avoid issues related to bad performance or errors.
-
Ethernet cable should be made of copper, avoid aluminum with copper coating.
Switches
-
When selecting a network switch, prefer to use a managed layer 2 switch at minimum.
-
Prioritize throughput speeds. Ensure all ports support full duplex communication with at least 1 Gigabit per second (Gbps) upstream and downstream data speeds.
-
For managed switches, manually set ports to 1 Gbps to avoid potential Auto Negotiation issues resulting in slower connections.
-
Consider switches with 10 Gbps, but be cautious about shared bandwidth across multiple ports in the backplane, especially for inter-switch connections.
-
To minimize security concerns and non desired traffice interference, isolate NDI traffic from important corporate data using VLANs.
-
Disable QoS (NDI doesn't use), if you have other software that is QoS enabled (like Dante), then using VLAN to separate networks like mentioned above.
-
Enable Flow Control, for preventing an interface from overloading a destination, which in turn would cause dropped packets.
-
IGMP Snooping: For NDI Multicast. Activate this feature only if you have comprehensive expertise in networking.
Needs can vary and specific features might be required at times. However, this chart is meant to break down switch selection into three categories. Small, Medium and Large:
NDI Network Size |
Small |
Medium |
Large |
Number of NDI Channels |
8 channels or less |
9 to 60-100 channels |
Over 60-100 channels |
Interface Types |
All 1GbE |
Mostly 1GbE Some 10GbE |
1GbE and 10GbE |
Video Formats |
HD |
HD/UHD/4K |
HD/UHD/4K |
Switch Recommendations |
Any unmanaged or managed switch |
Managed Layer 2 switch |
Cut-Through switch |
NIC
-
Use all available NIC ports
-
Do not mix ports speeds for NDI flows
-
Use Multi-TCP
Network Monitoring
Deploy monitoring software to track NDI traffic and devise a comprehensive strategy for identifying, executing, and conducting detailed monitoring of:
-
NDI Devices
-
Network bandwidth usage.
-
Network anomalies.
-
-
NDI Sources and Feeds
-
Video resolution and frame rate.
-
Frame format.
-
Audio channel count.
-
Audio frame rate.
-
Network Security Recommendations
Firewall Rules
-
To lessen the attack surface, configure firewall rules to restrict NDI traffic to just NDI devices, ports, and protocols.
Regular Operating System and NDI Software Updates
To address any vulnerabilities:
-
Keep Operating System up to date with the most recent security patches.
-
Keep Hardware up to date with the most recent patches and firmware.
-
Keep Network Switch firmware and software up to date with the latest security patches and bug fixes to address known vulnerabilities.
-
Always work with the latest version of NDI-enabled software.