Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeRDark
"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
languagejs
themeRDark
{
 "streamName": "name",
 "rtmpUrl": "rtmp://localhost:1935/live"
}

or they are set to 0

Code Block
languagejs
themeRDark
{
 "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
languagejs
themeRDark
{
 "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

...