public class CameraCapturerConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CameraCapturerConfiguration.CAMERA_DIRECTION
Sets the camera direction.
|
static class |
CameraCapturerConfiguration.CaptureFormat |
Modifier and Type | Field and Description |
---|---|
CameraCapturerConfiguration.CAMERA_DIRECTION |
cameraDirection
The camera direction.
|
CameraCapturerConfiguration.CaptureFormat |
captureFormat |
boolean |
followEncodeDimensionRatio
follow the dimension ratio of setVideoEncoderConfiguration.
|
Constructor and Description |
---|
CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection)
The camera capture configuration.
|
CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection,
CameraCapturerConfiguration.CaptureFormat captureFormat)
The camera capture configuration.
|
CameraCapturerConfiguration(CameraCapturerConfiguration.CaptureFormat captureFormat)
The camera capture configuration.
|
Modifier and Type | Method and Description |
---|---|
int |
getCameraDirection() |
CameraCapturerConfiguration.CaptureFormat |
getCaptureFormat() |
boolean |
isFollowEncodeDimensionRatio() |
java.lang.String |
toString() |
public CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection
public CameraCapturerConfiguration.CaptureFormat captureFormat
public boolean followEncodeDimensionRatio
public CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection)
cameraDirection
- The camera direction. For details, see CAMERA_DIRECTION
.public CameraCapturerConfiguration(CameraCapturerConfiguration.CaptureFormat captureFormat)
captureFormat
- The camera capture format. For details, see CameraCapturerConfiguration.CaptureFormat
.public CameraCapturerConfiguration(CameraCapturerConfiguration.CAMERA_DIRECTION cameraDirection, CameraCapturerConfiguration.CaptureFormat captureFormat)
cameraDirection
- The camera direction. For details, see CAMERA_DIRECTION
.captureFormat
- The camera capture format. For details, see CameraCapturerConfiguration.CaptureFormat
.public int getCameraDirection()
public CameraCapturerConfiguration.CaptureFormat getCaptureFormat()
public boolean isFollowEncodeDimensionRatio()
public java.lang.String toString()
toString
in class java.lang.Object