◆ PublisherConfiguration()
◆ width
Width of the output data stream set for CDN Live. The default value is 360.
◆ height
Height of the output data stream set for CDN Live. The default value is 640.
◆ framerate
Frame rate of the output data stream set for CDN Live. The default value is 15 fps.
◆ bitrate
Bitrate of the output data stream set for CDN Live. The default value is 500 Kbps.
◆ defaultLayout
The default layout:
- 0: Tile horizontally
- 1: Layered windows
- 2: Tile vertically
◆ lifecycle
The video stream lifecycle of CDN Live: RTMP_STREAM_LIFE_CYCLE_TYPE
◆ owner
Whether the current user is the owner of the RTMP stream:
- True: Yes (default). The push-stream configuration takes effect.
- False: No. The push-stream configuration will not work.
◆ injectStreamWidth
Width of the stream to be injected. Set it as 0.
◆ injectStreamHeight
Height of the stream to be injected. Set it as 0.
◆ injectStreamUrl
const char* injectStreamUrl |
URL address of the stream to be injected to the channel.
◆ publishUrl
Push-stream URL address for the picture-in-picture layouts. The default value is NULL.
◆ rawStreamUrl
Push-stream URL address of the original stream which does not require picture-blending. The default value is NULL.
◆ extraInfo
Reserved field. The default value is NULL.