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

Inherits <NSObject>.

Properties

CGSize dimensions
 
int frameRate
 
BOOL 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

- (BOOL) followEncodeDimensionRatio
readwritenonatomicassign

Follow the dimension ratio of setVideoEncoderConfiguration

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