Public Member Functions | |
int | getValue () |
Public Attributes | |
CAPTURER_OUTPUT_PREFERENCE_AUTO =(0) | |
CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE =(1) | |
CAPTURER_OUTPUT_PREFERENCE_PREVIEW =(2) | |
CAPTURER_OUTPUT_PREFERENCE_MANUAL =(3) | |
Sets the camera capturer configuration.
io.agora.rtc.video.CameraCapturerConfiguration.CAPTURER_OUTPUT_PREFERENCE.CAPTURER_OUTPUT_PREFERENCE_AUTO =(0) |
0:(default) Self-adapts the camera output parameters to the system performance and network conditions to balance CPU consumption and video preview quality.
io.agora.rtc.video.CameraCapturerConfiguration.CAPTURER_OUTPUT_PREFERENCE.CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE =(1) |
1: Prioritizes the system performance. The SDK chooses the dimension and frame rate of the local camera capture closest to those set by setVideoEncoderConfiguration
.
io.agora.rtc.video.CameraCapturerConfiguration.CAPTURER_OUTPUT_PREFERENCE.CAPTURER_OUTPUT_PREFERENCE_PREVIEW =(2) |
2: Prioritizes the local preview quality. The SDK chooses higher camera output parameters to improve the local video preview quality. This option requires extra CPU and RAM usage for video pre-processing.
io.agora.rtc.video.CameraCapturerConfiguration.CAPTURER_OUTPUT_PREFERENCE.CAPTURER_OUTPUT_PREFERENCE_MANUAL =(3) |
3: Allows you to customize the width and height of the video image captured by the local camera.