Class CameraCapturerConfiguration

The camera capturer preference.

Hierarchy

  • CameraCapturerConfiguration

Constructors

Properties

cameraDirection?: CameraDirection

This parameter applies to Android and iOS only.The camera direction. See CameraDirection .

followEncodeDimensionRatio?: boolean

Whether to follow the video aspect ratio set in setVideoEncoderConfiguration :true: (Default) Follow the set video aspect ratio. The SDK crops the captured video according to the set video aspect ratio and synchronously changes the local preview screen and the video frame in onCaptureVideoFrame and onPreEncodeVideoFrame .false: Do not follow the system default audio playback device. The SDK does not change the aspect ratio of the captured video frame.

format?: VideoFormat

The format of the video frame. See VideoFormat .

Generated using TypeDoc