Skip to content

AMWA-TV/nmos-device-control-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMWA NMOS Device Control Mock Application

Lint Status Render Status

This is a mock NMOS device written in Typescript and running on the NodeJS stack. It has support for the NMOS Modeling suite (MS-05-02 and IS-12 in particular).

It also has support for IS-04 and IS-05 with some limitations:

  • It does not support DND-SD discovery and the NMOS registry endpoint has to be configured in the config.json file
  • It does not support the IS-05 bulk API as it only has 1 receiver currently.

Installation

Note: npm commands need to be executed from the /code subfolder.

First install dependencies with

npm install

Modify the config.json properties for your configuration. At the very least point registry_address and registry_port to the NMOS registry on your network.

Usage

Build and run with:

npm run build-and-start

If you plan to make changes and want the app to recompile and run whenever you save run with:

npm run serve

Configuration

These are the configuration keys which can be specified in the configuration file (config.json):

  • notify_without_subscriptions - boolean flag which is set to false by default, but it can be set to true if you would like to get all notifications on all sessions without subscribing (for debugging purposes only).
  • work_without_registry - boolean flag which is set to false by default, but it can be set to true if you would like the mock device not to attempt to register with an NMOS registry.

Specifications supported

Releases

No releases published

Packages

No packages published

Languages