|
Agora Java API Reference for Android
|
The camera capturer preference. More...
#include <IAgoraRtcEngine.h>
Public Attributes | |
| Optional< const char * > | deviceId |
| Optional< bool > | followEncodeDimensionRatio |
| VideoFormat | format |
The camera capturer preference.
| Optional<const char *> agora::rtc::CameraCapturerConfiguration::deviceId |
Camera direction settings (for Android/iOS only). See: #CAMERA_DIRECTION. The camera ID. The maximum length is MAX_DEVICE_ID_LENGTH_TYPE.
| Optional<bool> agora::rtc::CameraCapturerConfiguration::followEncodeDimensionRatio |
(Optional) Whether to follow the video aspect ratio set in setVideoEncoderConfiguration:
true: (Default) Follow the set video aspect ratio. The SDK crops the captured video according to the set video aspect ratio and synchronously changes the local preview screen and the video frame in onCaptureVideoFrame and onPreEncodeVideoFrame.false: Do not follow the system default audio playback device. The SDK does not change the aspect ratio of the captured video frame. | VideoFormat agora::rtc::CameraCapturerConfiguration::format |
(Optional) The format of the video frame. See VideoFormat.
1.8.18