Advanced features of the RTMP or RTMPS streaming with transcoding. See LiveStreamAdvancedFeature.
Bitrate of the CDN live audio output stream. The default value is 48 Kbps, and the highest value is 128.
Agora's self-defined audio-channel types.
We recommend choosing option 1 or 2.
A special player is required if you choose option 3, 4, or 5:
Self-defined audio codec profile: #AUDIO_CODEC_PROFILE_TYPE.
Self-defined audio-sample rate:
The background color in RGB hex value. Value only, do not include a #. For example, 0xFFB6C1 (light pink). The default value is 0x000000 (black).
Height of the video. The default value is 640.
When pushing video streams to the CDN, the value range of height
is
[64,1080]. If the value is less than 64, Agora server automatically adjusts it to
64; if the value is greater than 1080, Agora server automatically adjusts it to
1080.
When pushing audio streams to the CDN, set the value of width x height to 0 x 0 (px).
Latency mode.
The reserved property.
Extra user-defined information to send SEI for the H.264 or H.265 stream to the CDN streaming client. The maximum length is 4096 bytes.
See SEI-related FAQ for more details.
The TranscodingUsers Array.
Bitrate of the CDN live output video stream. The default value is 400 Kbps.
Set this parameter according to the Video Bitrate Table.
If you set a bitrate beyond the proper range, the SDK automatically adapts it to a value within the range.
Self-defined video codec profile.
The video codec type of the output video stream. See VIDEO_CODEC_TYPE_FOR_STREAM.
Frame rate (fps) of the CDN live output video stream. The value range is (0, 30]. The default value is 15.
Note: Agora adjusts all values over 30 to 30.
Video GOP in frames. The default value is 30 fps.
The watermark image added to the CDN live publishing stream.
Width of the video. The default value is 360.
When pushing video streams to the CDN, the value range of width
is
[64,1920]. If the value is less than 64, Agora server automatically adjusts it to
64; if the value is greater than 1920, Agora server automatically adjusts it to
1920.
When pushing audio streams to the CDN, set the value of width x height to 0 x 0 (px).
Sets the CDN live audio/video transcoding settings.