Agora Java API Reference for Android
|
Public Member Functions | |
int | getValue () |
Public Attributes | |
CAPTURER_OUTPUT_PREFERENCE_AUTO =(0) | |
CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE =(1) | |
CAPTURER_OUTPUT_PREFERENCE_PREVIEW =(2) | |
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.