Agora RTC Objective-C API Reference Refactor

Properties
AgoraCameraCapturerConfiguration Class Reference

Inherits <NSObject>.

## Properties
NSString *_Nullable | deviceId
CGSize | dimensions
int | frameRate
BOOL | followEncodeDimensionRatio

## Detailed Description

The configuration of camera capturer.

## Property Documentation

## ◆ deviceId

- (NSString* _Nullable) deviceId
| readwritenonatomiccopy

The camera direction. See AgoraCameraDirection:

- AgoraCameraDirectionRear: The rear camera.
- AgoraCameraDirectionFront: The front camera. The device ID of the playback device.

## ◆ dimensions

- (CGSize) dimensions
| readwritenonatomicassign

The dimensions of camera capture.

## ◆ frameRate

- (int) frameRate
| readwritenonatomicassign

Frame rate of the camera capture.

## ◆ followEncodeDimensionRatio

- (BOOL) followEncodeDimensionRatio
| readwritenonatomicassign

Follow the dimension ratio of setVideoEncoderConfiguration

- YES: (Default) follow the dimension ratio.
- NO: Do not follow the dimension ratio.