Agora RTC Objective-C API Reference Refactor

Properties
AgoraMediaRecorderConfiguration Class Reference

Inherits <NSObject>.

## Properties
NSString *_Nonnull | storagePath
AgoraMediaRecorderContainerFormat | containerFormat
AgoraMediaRecorderStreamType | streamType
NSUInteger | maxDurationMs
NSUInteger | recorderInfoUpdateInterval
NSUInteger | width
NSUInteger | height
NSUInteger | fps
NSUInteger | sample_rate
NSUInteger | channel_num
AgoraVideoSourceType | videoSourceType

## Property Documentation

## ◆ storagePath

- (NSString* _Nonnull) storagePath
| read write nonatomic copy

Recorder file storage path. It contains file name (absolute path), such as -xxx.flv, -xxx.mp4, etc.

## ◆ containerFormat

- (AgoraMediaRecorderContainerFormat) containerFormat
| read write nonatomic assign

Container format. See AgoraMediaRecorderContainerFormat.

## ◆ streamType

- (AgoraMediaRecorderStreamType) streamType
| read write nonatomic assign

Stream Type. See AgoraMediaRecorderStreamType.

## ◆ maxDurationMs

- (NSUInteger) maxDurationMs
| read write nonatomic assign

Max duration (ms). Default 120000ms.

## ◆ recorderInfoUpdateInterval

- (NSUInteger) recorderInfoUpdateInterval
| read write nonatomic assign

Recorder information update interval (ms, [1000~10000]). If it is set to other values, there won't be any callback.

## ◆ width

- (NSUInteger) width
| read write nonatomic assign

The video width

## ◆ height

- (NSUInteger) height
| read write nonatomic assign

The video height

## ◆ fps

- (NSUInteger) fps
| read write nonatomic assign

The video fps

## ◆ sample_rate

- (NSUInteger) sample_rate
| read write nonatomic assign

The audio sample rate

## ◆ channel_num

- (NSUInteger) channel_num
| read write nonatomic assign

The audio channel nums

## ◆ videoSourceType

- (AgoraVideoSourceType) videoSourceType
| read write nonatomic assign

The video source just for out channel recoder