Agora RTC Objective-C API Reference  Refactor
Properties
AgoraCameraCapturerConfiguration Class Reference

Inherits <NSObject>.

Properties

CGSize dimensions
 
int frameRate
 
AgoraRtcBoolOptional *_Nullable followEncodeDimensionRatio
 

Detailed Description

The configuration of camera capturer.

Property Documentation

◆ dimensions

- (CGSize) dimensions
readwritenonatomicassign

The camera direction. See AgoraCameraDirection:

  • AgoraCameraDirectionRear: The rear camera.
  • AgoraCameraDirectionFront: The front camera. The dimensions of camera capture.

◆ frameRate

- (int) frameRate
readwritenonatomicassign

Frame rate of the camera capture.

◆ followEncodeDimensionRatio

- (AgoraRtcBoolOptional* _Nullable) followEncodeDimensionRatio
readwritenonatomicstrong

Follow the dimension ratio of setVideoEncoderConfiguration

  • true: (Default) follow the dimension ratio.
  • false: Do not follow the dimension ratio.