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
| read write nonatomic copy

The camera direction. See AgoraCameraDirection:

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

## ◆ dimensions

- (CGSize) dimensions
| read write nonatomic assign

The dimensions of camera capture.

## ◆ frameRate

- (int) frameRate
| read write nonatomic assign

Frame rate of the camera capture.

## ◆ followEncodeDimensionRatio

- (BOOL) followEncodeDimensionRatio
| read write nonatomic assign

Follow the dimension ratio of setVideoEncoderConfiguration

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