NDI Variable Input

Hi all,

Trying to get a dropdown for NDI source. I’m using setsrcname but no luck in changing the source. Any thoughts?

Thank you

Al

None NDI (Output) NDI (Output2) ogscript.getComponentsById('browser')[0].setUrl(params.getValue('URL1', 0)); ogscript.getComponentsById('NDIInput1')[0].setsrcname(params.getName('Input_List_1', 0));

Hi Al

You’re quite close - what you want to use is setSource(source name);

Here is an example panel that queries for sources, puts them in a list, and allows you to select:

NONE var ndiWindow = ogscript.getComponentsById('ndi-window')[0]; ndiWindow.setSource(this.getValue()); var ndiWindow = ogscript.getComponentsById('ndi-window')[0]; var sourceNames = ndiWindow.getNDISourceNames(); ogscript.debug("FOUND" + sourceNames.length); var c = params.createStringChoiceConstraint(sourceNames); params.replaceConstraint('ndi.sources', c); [#DashBoard](https://livinglive.community/search?s=tags%3A%22DashBoard%22&executesearch=true)

That works. Thank you James.

#DashBoard

Hello friends, some years after

We have an xpression 12.5 estudio, we use with NDI, 2 outputs

Now we want to use and ndi input , we already set and NDI but we dont have a drop down menu where we can select which ndi signal we will use

any idea how to set up?

Hello friends

we have a Xpression 12.5 studio, and we use with NDI 2 outputs
now we need to have and ndi input, but we dont see a dropdown menu where we can select an ndi signal.