|
Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
| NSString *_Nullable | deviceId |
| CGSize | dimensions |
| int | frameRate |
| BOOL | followEncodeDimensionRatio |
|
readwritenonatomiccopy |
The camera direction. See AgoraCameraDirection:
|
readwritenonatomicassign |
(Optional) The dimension (px) of the video frame. The default value is 960 × 540.
|
readwritenonatomicassign |
(Optional) The frame rate (fps) of the video frame. The default value is 15.
|
readwritenonatomicassign |
(Optional) Whether to follow the video aspect ratio set in setVideoEncoderConfiguration::
YES: (Default) Follow the set video aspect ratio. The SDK crops the captured video according to the set video aspect ratio and synchronously changes the local preview screen and the video frame in onCaptureVideoFrame:sourceType: and onPreEncodeVideoFrame:sourceType:.NO: Do not follow the system default audio playback device. The SDK does not change the aspect ratio of the captured video frame.