CameraCapturerConfiguration
- Android
更新时间不可用
用于设置摄像头采集偏好。
public class CameraCapturerConfiguration {
public CAMERA_DIRECTION cameraDirection = null;
public String cameraId = null;
public CAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType = null;
public CaptureFormat captureFormat;
public Boolean followEncodeDimensionRatio = null;
}属性
| 参数名 | 描述 |
|---|---|
cameraDirection | (可选)摄像头朝向。详见 CAMERA_DIRECTION。 |
cameraId | (可选)摄像头 ID,默认值为前置摄像头的 ID。你可以通过 Android 原生系统 API 获取 camera ID。 注: 此参数与
|
cameraFocalLengthType | (可选)摄像头焦距类型。详见 CAMERA_FOCAL_LENGTH_TYPE。 注: 要设置摄像头焦距类型,仅支持通过 |
captureFormat | (可选)视频帧的格式。详见 CaptureFormat。 |
followEncodeDimensionRatio | (可选)是否遵循 setVideoEncoderConfiguration 中设置的视频宽高比。
|