StSupervisor
Version 1.0.8
|
StSupervisor is a Ground Station STANAG 4609 stream monitoring service.
StSupervisor uses 2 configuration files:
More on configuration:
To start stream monitoring run stsupervisor.exe (with or without additional command line arguments).
When launched without parameters, StSupervisor will look for supervisor.yml and platforms.yml in the current directory. You can use arbitrary files by supplying –appConfig and –platformConfig arguments. Also, some of the file parameters can be overwritten with the options shown in the Options table.
Command line options
Flag | Name | Description |
---|---|---|
–appConfig | StSupervisor yaml configuration file. Default - supervisor.yml in root dir | |
–platformConfig | Platforms yaml configuration file. Default - platforms.yml in root dir | |
–mqttBrokerHost | Mqtt broker host url. If not provided, internal mqtt server will be launched | |
–mqttPort | Mqtt broker port | |
–mqttWsPort | Mqtt websocket broker port. Default 9001 | |
–httpPort | HTTP server port. Default 8090. Port to access the application. | |
–httpMonitorStartPort | Channel HTTP port. Will start from this value and increment for each instance. Default - 4000 | |
–wsVideoStreamStartPort | Web socket video preview stream port. Will start from this value. Default - 9010 | |
–nodeInfo | Show NodeInfo string | |
–licenseFile | License file | |
–licenseKey | License Key | |
–printUsage | Print args description (true/false) | |
-v | –version | Version |
Here is an example of the application configuration file:
StSupervisor presents stream info per sensor (video/data channel). One platform can carry multiple sensors.
StSupervisor performs stream parameter detection (on a first stream apearance). Press StreamInfo button in order to access this information.
If STANAG MISB 0601.X metadata is present in the stream, StSupervisor will display it in real time (the sampling frequency can be configured). Press Klv telemetry button to access this information.
The following standards are supported: -MISB601.X -MISB102.X -MISB903.4
If no broker host parameter provided, the StSupervisor will launch an internal broker. You can use any Mqtt broker (note, it must support websockets)
For example, to use Mosca Mqtt broker one can launch it with the following command:
Stream Monitor sends events to Mqtt broker in the following format: applicationName/platformId/sensorId/event, where event has one of the following values:
event | Description |
---|---|
state | Current state |
detection | Stream detection results (JSON) |
bitrate | Current stream bitrate |
custom events | User defined events |
config | General configuration information - httpServer, wsVideoPreview |
demoExpired | Demo Expired |
For example,
Stream Monitor reports the following stream state events:
You can view Event Timeline by pressing the State icon.
Stream Monitor periodically sends stream bitrate and STANAG Klv packet rate notifications that are presented as a real time chart. You can configure an update rate, if needed.
Alternatively, you can select another composed chart, like Bitrate and Stream Error Rate reporting.
Triggers are used to report events / issue commands when certain conditions are met. Stream Monitor will send Mqtt message with "trigger" topic and conditions payload when there is a match. Upon reporting, the trigger is removed from an internal queue.
The logic:
More on Triggers
Sensor admin allows you to perform administrative tasks on specific sensor.
Stream calendar shows the activity history.
StSupervisor contains the internal HTTP server, so it can be accessed over http.
More on Http Interface