keijiro / KlakNDI

NDI® plugin for Unity

Home Page:https://ndi.video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get global network NdiSender name?

v2k opened this issue · comments

commented

I hope I'm not missing something obvious here. I'm looking to have a "server" send a "client" its Klak Ndi source. The Klak.Ndi.Sender component only knows its name, not the computer's name, nor its full Ndi source name. The information I may be looking for might be buried in Klak.Ndi.Interop.Recv.Settings post connection.

Klak.Ndi.NdiFinder.sourceNames returns a list such as:

COMPUTER_NAME_1 NdiSourceNameA
COMPUTER_NAME_1 NdiSourceNameB
COMPUTER_NAME_2 NdiSourceNameA

Ideally, the "server" would send the "client" a Klak Ndi name (eg COMPUTER_NAME_1 NdiSourceNameB) to be assigned in the Klak.Ndi.Receiver.

How does the "server" get its global NdiSource name from its Klak.Ndi.Send component?

Honestly, I have no idea -- I might be wrong but think that there is no way to determine it with NDI SDK. I think you have to invent your way to get it.

I close this issue as answered. Please reopen it for further problems.