Agora Java API Reference for Android
|
#include <AgoraStreamingBase.h>
Public Attributes | |
int | width |
int | height |
int | framerate |
int | bitrate |
int | maxBitrate |
int | minBitrate |
ORIENTATION_MODE | orientationMode |
VIDEO_MIRROR_MODE_TYPE | mirrorMode |
VIDEO_ENCODING_MODE_TYPE | videoEncodingMode |
Configurations for the RTMP video stream.
int agora::streaming::VideoStreamConfiguration::width |
The width (in pixels) of the video. The default value is 640.
int agora::streaming::VideoStreamConfiguration::height |
The height (in pixels) of the video. The default value is 360.
int agora::streaming::VideoStreamConfiguration::framerate |
Frame rate (fps) of the output video stream to be published. The default value is 15 fps.
int agora::streaming::VideoStreamConfiguration::bitrate |
The target bitrate (Kbps) of the output video stream to be published. The default value is 800 Kbps.
int agora::streaming::VideoStreamConfiguration::maxBitrate |
(For future use) The maximum bitrate (Kbps) for video. The default value is 960 Kbps.
int agora::streaming::VideoStreamConfiguration::minBitrate |
(For future use) The minimum bitrate (Kbps) for video. The default value is 600 Kbps.
ORIENTATION_MODE agora::streaming::VideoStreamConfiguration::orientationMode |
The orientation mode. See ORIENTATION_MODE.
VIDEO_MIRROR_MODE_TYPE agora::streaming::VideoStreamConfiguration::mirrorMode |
If mirror_type is set to VIDEO_MIRROR_MODE_ENABLED, then the video frame would be mirrored before encoding. Default is VIDEO_MIRROR_MODE_DISABLED.
VIDEO_ENCODING_MODE_TYPE agora::streaming::VideoStreamConfiguration::videoEncodingMode |
The video encoding mode. See VIDEO_ENCODING_MODE_TYPE.