keijiro / KlakNDI

NDI® plugin for Unity

Home Page:https://ndi.video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filter own stream

Piflik opened this issue · comments

commented

I am currently building an app that can both send and receive an NDI stream, and the input stream can be selected by the user. I use NdiFinder.sourceNames to display the list of discovered streams, but this also includes the apps own output stream, which I do not want. I was able to filter this stream out on Windows by just using the computer's name and the NdiSender's ndiName property to rebuild the actual stream ID myself, but now I tested the application on macOS, and the pattern for the stream ID doesn't fit anymore.

Is there a way to get the actual stream ID from the NdiSender (or via a helper function), that works on all platforms this package supports?

The pattern is generated by the NDI SDK. Unfortunately, I don't have any idea behind it. You can ask NewTek for further information.