Bitrate (Kbps) of the CDN live audio output stream. The default value is 48 and the highest value is 128.
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.
Audio codec profile type: AudioCodecProfileType. Set it as LC-AAC or HE-AAC. The default value is LC-AAC.
Self-defined audio-sample rate: AudioSampleRateType.
Sets the background color.
The background image on the live video. The format must be in the PNG format.
The array of background images on the live video. You can use backgroundImageList
to add one or more background images. The image format must be PNG.
The total number of watermarks and background images on the live video must be greater than or equal to 0 and less than or equal to 10.
Height (pixel) of the video. The default value is 640.
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.The metadata sent to the CDN live client.
An TranscodingUser object managing the user layout configuration in the CDN live stream. Agora supports a maximum of 17 transcoding users in a CDN live stream channel.
Reserved property. Extra user-defined information to send the Supplemental Enhancement Information (SEI) for the H.264/H.265 video stream to the CDN live client. Maximum length: 4096 Bytes.
Bitrate (Kbps) of the CDN live output video stream. The default value is 400. 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.
Video codec profile type: VideoCodecProfileType. Set it as BASELINE, MAIN, or HIGH (default). If you set this parameter to other values, Agora adjusts it to the default value HIGH.
The video codec type of the output video stream.
Frame rate (fps) of the CDN live output video stream. The value range is [0,30]. The default value is 15. Agora adjusts all values over 30 to 30.
Gop of the video frames in the CDN live stream. The default value is 30 fps.
The watermark on the live video. The image format must be PNG.
The array of watermarks on the live video. You can use watermarkList
to add one or more watermarks.
The image format must be PNG.
The total number of watermarks and background images on the live video must be greater than or equal to 0 and less than or equal to 10.
Width (pixel) of the video. The default value is 360.
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.Generated using TypeDoc
A class for managing user-specific CDN live audio/video transcoding settings.