A class for managing user-specific CDN live audio/video transcoding settings in setLiveTranscoding.
Bitrate of the CDN live audio output stream in Kbps.
Positive integer. The default value is 48, and the highest value is 128.
Number of audio channels for the CDN live stream.
Agora recommends choosing 1 or 2. Special players are required if you choose 3, 4 or 5:
Audio sampling rate:
The background color in RGB hex value.
Value only, do not include a #. The default value is 0x000000. The value range is [0x000000, 0xffffff].
Height of the video.
Positive integer, the default value is 360. The value range is [64, 10000].
Adds a watermark image to the CDN live stream.
See TranscodingWatermark for details.
Manages the user layout configuration in the CDN live streaming.
Agora supports a maximum of 17 transcoding users in a CDN streaming channel. See TranscodingUser for details.
Number of users; default value is 0. The maximum is 17.
Bitrate of the CDN live output video stream.
Positive integer. The default value is 400 Kbps. The value range is [1,1000000].
Set the bitrate according to the Video Profile 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.
Set it as 66, 77, or 100 (default). If you set this parameter to other values, Agora adjusts it to the default value 100.
Frame rate of the output data stream set for CDN live.
Positive integer. The default value is 15 fps. The value range is [1, 30]. Agora adjusts all values over 30 to 30.
Video GOP in frames. The default value is 30 frames. The value range is [1,10000].
Width of the video.
Positive integer, the default value is 640. The value range is [64, 10000].