| width | The width of the video in pixels. The default value is 360.
- When pushing video streams to the CDN, ensure that width is at least 64; otherwise, the Agora server adjusts the value to 64.
- When pushing audio streams to the CDN, set width and height as 0.
|
| height | The height of the video in pixels. The default value is 640.
- When pushing video streams to the CDN, ensure that height is at least 64; otherwise, the Agora server adjusts the value to 64.
- When pushing audio streams to the CDN, set width and height as 0.
|
| videoBitrate | The bitrate (Kbps) of the video. The default value is 400. Set this parameter according to the bitrate you set in VideoEncoderConfiguration. If you set a bitrate beyond the proper range, the SDK automatically adapts it to a value within the range. |
| videoFrameRate | The frame rate (fps) of the video that ranges from 0 to 30. The default value is 15. The server adjusts any value over 30 to 30. |
| lowLatency | Determines whether to enable low latency.
- true: Low latency with unassured quality.
- false: (Default) High latency with assured quality.
|
| videoGop | Gop (Group of video) of the video frames in the CDN live stream. The default value is 30 fps. |
| videoCodecProfile | The video codec profile.
- 66: Baseline video codec profile. Generally used in video calls on mobile phones.
- 77: Main video codec profile. Generally used in mainstream electronics, such as MP4 players, portable video players, PSP, and iPads.
- 100: (Default) High video codec profile. Generally used in high-resolution broadcasts or television.
|
| backgroundColor | The background color in RGB hex. Value only, do not include a preceding #. For example, 0xFFB6C1 (light pink). The default value is 0x000000 (black). |
| userCount | The number of users in the live broadcast. |
| transcodingUsers | The user layout configuration in the CDN live streaming. |
| transcodingExtraInfo | Extra user-defined information sent to the CDN client. The extra information will be transmitted by SEI packets. |
| metadata | The metadata sent to the CDN client. |
| watermark | The watermark image added to the CDN live publishing stream. Ensure that the format of the image is PNG. Once a watermark image is added, the audience of the CDN live publishing stream can see it. |
| watermarkCount | The variables means the count of watermark. |
| backgroundImage | The background image added to the CDN live publishing stream. Once a background image is added, the audience of the CDN live publishing stream can see it. |
| backgroundImageCount | The number of background images on the live video. The total number of watermarks and background images must be greater than or equal to 0 and less than or equal to 10. This parameter is used in conjunction with backgroundImage. |
| audioSampleRate | The audio sample rates.
- 32000: 32 KHz.
- 44100: 44.1 KHz.
- 48000: 48 KHz.
|
| audioBitrate | The bitrate (Kbps) of the audio output stream set for CDN live. The default value is 48 and the highest value is 128. |
| audioChannels | The number of audio channels for the CDN live stream. Agora recommends choosing 1 (mono), or 2 (stereo) audio channels. Special players are required if you choose 3, 4, or 5. |
| audioCodecProfile | The audio codec profile type.
- 0: (Default) LC-AAC, which is the low-complexity audio codec type.
- 1: HE-AAC, which is the high-efficiency audio codec type.
|