Results 1 to 9 of 9

Thread: Feature Request: NC1-IO API Access to Change Input Video Sources for Outputs

  1. #1
    Registered User
    Join Date
    Jan 2019
    Location
    Woking
    Posts
    5

    Feature Request: NC1-IO API Access to Change Input Video Sources for Outputs

    Hello,

    I was directed by support to submit a feature request as i was told this functionality doesn't currently exist (sorry if its posted in the wrong place).

    We would like to be able to change the input source on each of the 1-8 outputs to sources (NDI) that are available to the NC1-IO programatically through a HTTP/Web/WS/TCP interface.

    I can see in the integration guides, bits of information around shortcuts and dictionaries that look like they can almost do this? However iv not had any luck getting this to work (maybe i don't have the HTTP query string correct).

    The new "NDI KVM" (VNC) feature in the latest upgrade is good, however API access to allow us to make a simple dashboard would be perfect for our use-case/workflow and would allow us to buy more equipment and add more NDI sources.

    Thanks very much,

    Kind regards,
    John.

  2. #2
    'the write stuff' SBowie's Avatar
    Join Date
    Feb 2003
    Location
    The stars at night are big and bright
    Posts
    18,920
    You can usually record the shortcut you need using the macro editor. In this case, it's (for example) "out1_crosspoint_source", with a value of the input you want to assign - e.g., "Input2".

    So, for example, this works here for me: http://target_ip_address/v1/shortcut?name=out1_crosspoint_source&value=INPUT2
    --
    Regards, Steve
    Forum Moderator
    ("You've got to ask yourself one question ... 'Do I feel lucky?' Well, do ya, spammer?")

  3. #3
    Registered User
    Join Date
    Jan 2019
    Location
    Woking
    Posts
    5
    Hi Steve,

    Thanks for your reply. I'm not sure where to find the macro editor on an NC1 IO as i don't see any UI similar to that in the integration documentation, is this maybe a Tricaster or other Newtek product feature which is not included on an NC1-IO?

    I have found a file on the NC1-IO called shortcuts_cfg.xml (hoping that these are the built in shortcuts).

    ...
    <!-- Video and Audio input shortcuts -->
    <group>
    <prefix name="input1" />
    <prefix name="input2" />
    <prefix name="input3" />
    <prefix name="input4" />
    <prefix name="input5" />
    <prefix name="input6" />
    <prefix name="input7" />
    <prefix name="input8" />
    <prefix name="input9" />
    <prefix name="input10" />
    <prefix name="input11" />
    <prefix name="input12" />
    <prefix name="input13" />
    <prefix name="input14" />
    <prefix name="input15" />
    <prefix name="input16" />

    <!--Select a input video source -->
    <suffix undocumented="true" name="_video_source">
    <shortcut_dictionary>
    <entry key="source_name" type="string" />
    </shortcut_dictionary>
    </suffix>
    ...

    From this i created the following URL.

    http://*target_ip*/v1/shortcut?name=...ue=*ndi_input*

    Using an "ndi_source" - "name" value from http://*target_ip*/v1/dictionary?key=ndi_sources

    But still no luck (which is what i was anticipating trying to reverse engineer something that probably isn't hooked up yet as "undocumented" and no "web_access" don't sound like production ready terms? )

    Thanks very much for your help again,

    Kind regards,
    John.

  4. #4
    'the write stuff' SBowie's Avatar
    Join Date
    Feb 2003
    Location
    The stars at night are big and bright
    Posts
    18,920
    I'm sorry, John, for some reason I missed the subject line of your post and so was thinking of VMC1, which has switchable output crosspoints. I've got to break for lunch, but will come back to this.
    --
    Regards, Steve
    Forum Moderator
    ("You've got to ask yourself one question ... 'Do I feel lucky?' Well, do ya, spammer?")

  5. #5
    'the write stuff' SBowie's Avatar
    Join Date
    Feb 2003
    Location
    The stars at night are big and bright
    Posts
    18,920
    OK, we got it working. Your syntax was close, but not quite right. (I'd have struggled with this too, but was able to get the guy who coded it to look at it with me).

    This works (we tested it here):

    Code:
    http://*IP-address*/v1/shortcut?name=input3_video_source&source_name=*ndi-source-name*
    --
    Regards, Steve
    Forum Moderator
    ("You've got to ask yourself one question ... 'Do I feel lucky?' Well, do ya, spammer?")

  6. #6
    Registered User
    Join Date
    Jan 2019
    Location
    Woking
    Posts
    5
    Brilliant, just tried it here and its working great!

    I did spend an hour trying to get it working and writing a reply only to realize i had copied an old incorrect URL i generated *facepalm*.. Time for a coffee!

    Thank you so much for your quick responses and help! You've just opened up a world of possibilities for us with this!

    Kind regards,
    John.

  7. #7
    Registered User
    Join Date
    Jan 2019
    Location
    Woking
    Posts
    5
    Although iv just tried the same URL (with different IP) on our MediaDS and receive a "404 - Not Found".

    Maybe its on a different port because of Wowza or just not included?

    Any ideas or should i add a new post for this?

    Thanks very much,

    Kind regards,
    John.

  8. #8
    NC1 IO has a web interface, which by extension, allows this product to receive API commands. Products like TalkShow and MediaDS do not have a web interface for the NewTek UI, which means there is no web API available on these platforms.
    Kane Peterson
    Key Accounts Sales Engineer
    NewTek, Inc.

  9. #9
    Registered User
    Join Date
    Jan 2019
    Location
    Woking
    Posts
    5
    Thanks Kane for your reply. Understood and good to know.

    Ill leave the feature request for the time being, but for our use-case an API, NDI KVM or an option like that on the MediaDS would be cool!

    Either way, we are really enjoying working with your products!

    Thanks again,
    John.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •