config:remotecontrol:rest
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:remotecontrol:rest [2016/09/07 06:41] – [Configuration] tw | config:remotecontrol:rest [2020/04/21 18:23] (current) – Ergänzung tondose | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Specify the TCP Port that the HTTP server should listen on. The default port is 9300. | Specify the TCP Port that the HTTP server should listen on. The default port is 9300. | ||
| - | SSL is currently not supported. | + | SSL versions SSLv3, TLS v1.0, TLS v1.1, and TLS v1.2 are supported |
| ==== User Management ==== | ==== User Management ==== | ||
| Line 24: | Line 25: | ||
| Endpoint URLs are provided through plugins, which can be enabled or disabled as required. See the plugin description below for the available URLs. | Endpoint URLs are provided through plugins, which can be enabled or disabled as required. See the plugin description below for the available URLs. | ||
| ===== Plugins ===== | ===== Plugins ===== | ||
| + | |||
| + | ==== General status (GeneralRead) ==== | ||
| + | |||
| + | This plugin provides the following endpoints: | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the current ON AIR status (1 = ON AIR, 0 = OFF AIR). | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the current value of the runtime data value (set in a script via '' | ||
| + | ==== Playlist read access (PlaylistRead) ==== | ||
| + | |||
| + | This plugin provides the following endpoints: | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the current content of the playlist with the specified index (where 0 is the first playlist) as XML. | ||
| + | ==== Command execution (Execute command) ==== | ||
| + | |||
| + | This plugin provides the following endpoints: | ||
| + | |||
| + | POST /execute | ||
| + | | ||
| + | Executes a [[reference: | ||
| + | ==== Encoder status (Encoder) ==== | ||
| + | |||
| + | This plugin provides the following endpoints: | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns a summary of the status of the encoder and all connections as a JSON document. | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the connection state (1 = connected, 0 = disconnected). | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the current number of listeners. | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns the number of seconds since the audio level of the encoder mixer has reached or exceeded the silence level specified in the configuration. | ||
| + | |||
| + | GET / | ||
| + | | ||
| + | Returns a summary of the specified connection (first connection has index 0) as JSON document, | ||
| + | | ||
| + | GET / | ||
| + | | ||
| + | Returns the name of the connection. | ||
| + | | ||
| + | GET / | ||
| + | | ||
| + | Returns 1 if connection is enabled in configuration, | ||
| + | | ||
| + | GET / | ||
| + | | ||
| + | Returns 1 if connection has been established, | ||
| + | | ||
| + | GET / | ||
| + | | ||
| + | Returns the number of listeners on this connection. | ||
| + | |||
| + | ===== Scripting ===== | ||
| + | |||
| + | In mAirList-Script the following functions/ | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | A complete call for starting Player 1-1 on the remote machine might look like: | ||
| + | |||
| + | '' | ||
| + | | ||
| + | |||
config/remotecontrol/rest.1473230486.txt.gz · Last modified: (external edit)