Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::CameraCapturerConfiguration Struct Reference

## Public Member Functions
| CameraCapturerConfiguration ()

## Public Attributes
Optional< CAMERA_DIRECTION > | cameraDirection
Optional< CAMERA_FOCAL_LENGTH_TYPE > | cameraFocalLengthType
Optional< const char * > | deviceId
Optional< const char * > | cameraId
Optional< bool > | followEncodeDimensionRatio
VideoFormat | format

## Detailed Description

Camera capturer configuration.

## Constructor & Destructor Documentation

## ◆ CameraCapturerConfiguration()

agora::rtc::CameraCapturerConfiguration::CameraCapturerConfiguration | ( |  | ) |
| inline

## Member Data Documentation

## ◆ cameraDirection

Optional<CAMERA_DIRECTION> agora::rtc::CameraCapturerConfiguration::cameraDirection

Camera direction settings (for Android/iOS only). See: CAMERA_DIRECTION. The camera direction.

## ◆ cameraFocalLengthType

Optional<CAMERA_FOCAL_LENGTH_TYPE> agora::rtc::CameraCapturerConfiguration::cameraFocalLengthType

## ◆ deviceId

Optional<const char *> agora::rtc::CameraCapturerConfiguration::deviceId

For windows. The device ID of the playback device.

## ◆ cameraId

Optional<const char *> agora::rtc::CameraCapturerConfiguration::cameraId

The camera id.

## ◆ followEncodeDimensionRatio

Optional<bool> agora::rtc::CameraCapturerConfiguration::followEncodeDimensionRatio

## ◆ format

VideoFormat agora::rtc::CameraCapturerConfiguration::format

The video format. See VideoFormat.