...
Code Block |
---|
|
"options": {"action": "mute"}
"options": {"action": "sound_on", "soundFile": "sound.wav", "loop": true} |
Stream transcoding while republishing
If picture width and height are not set in /push/startup query parameters
Code Block |
---|
|
{
"streamName": "name",
"rtmpUrl": "rtmp://localhost:1935/live"
} |
or they are set to 0
Code Block |
---|
|
{
"streamName": "name",
"rtmpUrl": "rtmp://localhost:1935/live",
"width": 0,
"height": 0
} |
since build 5.2.560 transcoding will not be enabled for stream republishing.
If picture width and height are set explicitly (for example, if destination server does not accept streams below 720p)
Code Block |
---|
|
{
"streamName": "name",
"rtmpUrl": "rtmp://localhost:1935/live",
"width": 1280,
"height": 720
} |
the stream will be transcoded and pushed to destination server in resolution defined.
Sending the REST query to the WCS server
...