Output Commands
All of the commands found here are related to the output of your project, allowing you to configure specific streaming destinations or specific types of output.
Get the current video format settings.
GET /api/command/getOutputDevice HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "getOutputDevice",
"device": "NDI",
"reply": "getOutputDevice",
"success": true
}
}
Get information on the current stream..
GET /api/command/getStreamHostServer HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "getStreamHostServer",
"reply": "getStreamHostServer",
"success": true
}
}
Set the current device to use for channel output. NOTE: only some products allow you to set different output devices for different channels.
Because this endpoint doesn't use any variables, it can also be accessed using a GET request.
the name of the output device to use, i.e. NDI
optional: comma-separated list of channel indexes to connect to this device
GET /api/command/setOutputDevice HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "setOutputDevice",
"reply": "setOutputDevice",
"success": true
}
}
Set the container format for the stream..
RTMP for now
GET /api/command/setStreamHostServers HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "setStreamHostServers",
"error": "unknown command",
"reply": "setStreamHostServers",
"success": true
}
}
Start an RTMP stream.
Service name, like "Facebook"
rtmp(s) server url
stream key for the rtmp server
GET /api/command/startStreaming HTTP/1.1
Host: 127.0.0.1:9022
Accept: */*
{
"result": {
"command": "startStreaming",
"reply": "startStreaming",
"success": true
}
}
Last updated