Versions Compared

Key

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

...

Parameter name

Description

Example

streamName

Name of the republished stream

streamName

rtmpUrl

URL of the server the stream is republished to

rtmp://localhost:1935/live

rtmpFlashVersionRTMP subscriber Flash versionLNX 76.219.189.0

options

Transponder options

{"action": "mute"}

mediaSessionId

Unique identifier of the transponder

eume87rjk3df1i9u14elffga6t

width

Image width

320

height

Image height

240

bitrateVideo bitrate, kbps500
keyFrameIntervalVideo keyframe interval60
fpsVideo framerate30

muted

Is sound muted

true

soundEnabled

Is sound enabled

true

soundFile

Sound file

test.wav

loop

Loop playback

false

rtmpTransponderFullUrlTake stream name to publish  to RTMP server from RTMP URLfalse

Parameters added since build 5.2.785: rtmpFlashVersion, keyFrameInterval and fps.

Since build 5.2.1043 bitrateparameter is added.

The options parameter can be used to turn off audio or insert audio from a file when creating a transponder.

...

Since build 5.2.785, there are two more parameters enabling transcoding: keyFrameInterval and fps. Stream . Since build 5.2.1043 bitrate parameter is added which also enables stream transcoding while republishing.

Therefore, stream will be transcoded if either of them, or height is specified.while republishing with any of the following parameters:

Code Block
languagejs
themeRDark
{
"streamName": "name",
"rtmpUrl": "rtmp://localhost:1935/live",
"height": 240,
"keyFrameInterval": 60,
"fps": 30,
"bitrate": 500
}

Set stream name to publish to RTMP server

...