Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc.video.CameraCapturerConfiguration.CAPTURER_OUTPUT_PREFERENCE Enum Reference

Public Member Functions

int getValue ()
 

Public Attributes

 CAPTURER_OUTPUT_PREFERENCE_AUTO =(0)
 
 CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE =(1)
 
 CAPTURER_OUTPUT_PREFERENCE_PREVIEW =(2)
 

Detailed Description

Sets the camera capturer configuration.

Member Data Documentation

◆ CAPTURER_OUTPUT_PREFERENCE_AUTO

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.

◆ CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE

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.

◆ CAPTURER_OUTPUT_PREFERENCE_PREVIEW

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.