Agora Java API Reference for Android Enum Reference

Public Member Functions

int getValue ()

Public Attributes


Detailed Description

Sets the camera capturer configuration.

Member Data Documentation


0:(default) Self-adapts the camera output parameters to the system performance and network conditions to balance CPU consumption and video preview quality.


1: Prioritizes the system performance. The SDK chooses the dimension and frame rate of the local camera capture closest to those set by setVideoEncoderConfiguration.


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.


3: Allows you to customize the width and height of the video image captured by the local camera.