NDI SDK on MacOS: router registers as url 127.0.0.1

Dan Tappan

New member
Is this the right place to ask questions related to the NDI SDK?
I am trying to implement a NDI router under MacOS using the latest version of the SDK

Registering the router instances appears to work, in that they show up to NDI discovery on other machines. However, the URL associated with the routers uses the address 127.0.0.1 so no other machine can connect to the instances.

For example
Network sources (12 found).
1. BIRDDOG-P100 (CAM)
10.100.1.110:5961
2. CAMERA-PHONE-2 (NDICam)
10.100.1.203:5964
3. DANS-MACBOOK (HDMI1)
127.0.0.1:5961
4. DANS-MACBOOK (HDMI2)
127.0.0.1:5962
5. DANS-MACBOOK (HDMI3)
127.0.0.1:5963
6. DANS-MACBOOK (HDMI4)
127.0.0.1:5964
7. DANS-MACBOOK (HDMI5)
127.0.0.1:5965
....

Is there a way on MacOS to force the SDK to use the physical interface addresses, or better yet to use a host name
I tried setting ~/.ndi/ndi-config.v1.json to the following, but it didn't make a difference
---
{
"ndi": {
"adapters": {
"allowed": ["10.100.1.150"]
}
}
}
---
 
What's the network setup? Is NDI discovery server involved? Usually the loopback address is only given if the source is actually available on loopback.
 
No NDI discovery server. It's a test network

A couple Windows PCs running NDI Tools
a Birddog P100 camera
an iPhone running the Sierra NDICam app
a Macbook running the "router" program

I'm not sure what you mean by "if the source is actually available on loopback". I can access the router from the macbook itself by opening e.g. 127.0.0.1:5961, but obviously that doesn't work from any of the Windows PCs

I tried running the identical code on one of the Windows PCs and it works. My longer term goal is to run it on a Raspberry Pi.
 
Update: I set up a Raspberry Pi4, and tried running the same code and it works there also. So the 127.0.0.1 problem seems to be specific to the MacOS version of the SDK

18. NDIROUTER (HDMI1) 10.100.1.194:5961
19. NDIROUTER (HDMI2) 10.100.1.194:5962
20. NDIROUTER (HDMI3) 10.100.1.194:5963
21. NDIROUTER (HDMI4) 10.100.1.194:5964
22. NDIROUTER (HDMI5) 10.100.1.194:5965
 
Back
Top