bitfocus / companion-module-newtek-ndistudiomonitor

MIT License
3 stars 0 forks source link

Module request: NDI Studio Monitor Control #1

Closed AlgemeneBuurman closed 4 years ago

AlgemeneBuurman commented 5 years ago

Describe the feature NDI Studio monitor on windows has a webserver to change settings via web. Would be nice to control it by Companion

Is this platform dependent (windows, mac, ..)? Don't know for sure if Studio Monitor on Mac has the webserver.

If documentation is required to implement, do you know where to find it? HTTP GET request to http://127.0.0.1/v1/sources results in a array with NDI Sources, Displays on Studio monitor computer, audio outupt and other ndi monitors (i think)

{"ndi_sources":["LAPTOP-PC7S7504 (Companion)","LAPTOP-PC7S7504 (Countdown Timer 2.0 2)","LAPTOP-PC7S7504 (Countdown Timer 2.0)","LAPTOP-PC7S7504 (Display1)","LAPTOP-PC7S7504 (Display2)"],"audio_devices":["HDMI2K (Intel(R) Display Audio)","Speakers (Realtek High Definition Audio)"],"display_devices":["Monitor 1","Monitor 2","All Monitors"],"controllers":[],"studio_monitors":{"LAPTOP-PC7S7504 (1)":"http://10.36.10.63/"}}

Posting a JSON object to http://127.0.0.1/v1/configuration can change the configuration. Got this working in node-red already, but don't know how to implement it in Companion;

{ 'version': 1, 'NDI_source': #SOURCE TO SET, 'window': { 'display_device': #DISPLAY TO SET } }

To see all the functions you can set by posting to the http://127.0.0.1/v1/configuration, just do a HTTP GET to that url. I'ts the current state of the monitor.

Usecases I use it al lot to mirror speakernotes (display 1) from powerpoint laptops. But if i switch to another machine on my switcher, i have to manually change the input of the Studio Monitor.

JeffreyDavidsz commented 5 years ago

@AlgemeneBuurman did you try already?

karlthepagan commented 4 years ago

I am motivated and capable of implementing this feature. I can't promise any timeline but I would find this very useful this summer.

josephdadams commented 4 years ago

@albertorighetto has made this module. We will be reviewing it to include in the core soon.

albertorighetto commented 4 years ago

Since the module for NDI Studio Monitor is now in the core I'm closing this issue.