Package io.agora.rtc2.video
Class CameraCapturerConfiguration
java.lang.Object
io.agora.rtc2.video.CameraCapturerConfiguration
The definition of CameraCapturerConfiguration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSets the camera direction.static enumCamera focal length type.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionThe camera direction.The camera id.follow the dimension ratio of setVideoEncoderConfiguration. -
Constructor Summary
ConstructorsConstructorDescriptionCameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection) The camera capture configuration.CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType) CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType, CameraCapturerConfiguration.CaptureFormat captureFormat) CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CaptureFormat captureFormat) The camera capture configuration.The camera capture configuration. -
Method Summary
-
Field Details
-
cameraDirection
The camera direction. -
cameraId
The camera id. -
cameraFocalLengthType
-
captureFormat
-
followEncodeDimensionRatio
follow the dimension ratio of setVideoEncoderConfiguration.
-
-
Constructor Details
-
CameraCapturerConfiguration
The camera capture configuration.- Parameters:
cameraDirection- The camera direction. For details, seeCAMERA_DIRECTION.
-
CameraCapturerConfiguration
public CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType) -
CameraCapturerConfiguration
The camera capture configuration.- Parameters:
captureFormat- The camera capture format. For details, seeCameraCapturerConfiguration.CaptureFormat.
-
CameraCapturerConfiguration
public CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CaptureFormat captureFormat) The camera capture configuration.- Parameters:
cameraDirection- The camera direction. For details, seeCAMERA_DIRECTION.captureFormat- The camera capture format. For details, seeCameraCapturerConfiguration.CaptureFormat.
-
CameraCapturerConfiguration
public CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType, CameraCapturerConfiguration.CaptureFormat captureFormat)
-
-
Method Details