Having trouble with NDI SDK on Linux

goltata

New member
I have 4 PCs: MacbookPro (192.168.68.109), Windows PC (192.168.68.111), Linux PC A (Ubuntu 20) (192.168.68.120) and Linux PC B (Ubuntu 22) (192.168.68.121) on the same network. Have installed the SDK on all 4. When I start a video stream on any of the 4 machines using the the SDK examples (say NDIlib_Send_Video_Async), the SDK examples and NDI tools (including https://github.com/keijiro/Nsm) can find the source in the remaining 3 machines. However, only Linux PC B is unable to send/receive the frames to/from the other machines. Sending and receiving on the same Linux PC B works as expected. While the other three machines can send/receive video frames to each other. How do I go about debugging this issue? Is it a network/firewall issue? It is critical for me stream from Linux PC B.

FYI...
On PC B, when I run NDIlib_Send_Video_Async, this is what I see using netstat.
Code:
$ netstat -tlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost:38021         0.0.0.0:*               LISTEN      13377/Code --standa
tcp        0      0 localhost:36587         0.0.0.0:*               LISTEN      13367/Code --standa
tcp        0      0 localhost:domain        0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:5960            0.0.0.0:*               LISTEN      70417/./NDIlib_Send
tcp        0      0 0.0.0.0:5961            0.0.0.0:*               LISTEN      70417/./NDIlib_Send
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN      -               
tcp        0      0 localhost:ipp           0.0.0.0:*               LISTEN      -               
tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN      -               
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -

Btw, I didn't set up the Linux PC B and am not entirely sure if any firewalls or rules are blocking the tranmission/receipt .
 
Last edited:
That's not really a lot to go on. My best guesses are either that you don't have the required Avahi daemon installed/running or there are firewall rules in place preventing discovery or communications. You don't list enough detail to know if the issue is with NDI discovery (related to Avahi and mDNS) or with the NDI transport (ports 5960/5961 in your netstat output, there will also be other ports used once any connections are established).
 
Back
Top