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
readwritenonatomiccopy

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

◆ containerFormat

- (AgoraMediaRecorderContainerFormat) containerFormat
readwritenonatomicassign

Container format. See AgoraMediaRecorderContainerFormat.

◆ streamType

- (AgoraMediaRecorderStreamType) streamType
readwritenonatomicassign

Stream Type. See AgoraMediaRecorderStreamType.

◆ maxDurationMs

- (NSUInteger) maxDurationMs
readwritenonatomicassign

Max duration (ms). Default 120000ms.

◆ recorderInfoUpdateInterval

- (NSUInteger) recorderInfoUpdateInterval
readwritenonatomicassign

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

◆ width

- (NSUInteger) width
readwritenonatomicassign

The video width

◆ height

- (NSUInteger) height
readwritenonatomicassign

The video height

◆ fps

- (NSUInteger) fps
readwritenonatomicassign

The video fps

◆ sample_rate

- (NSUInteger) sample_rate
readwritenonatomicassign

The audio sample rate

◆ channel_num

- (NSUInteger) channel_num
readwritenonatomicassign

The audio channel nums

◆ videoSourceType

- (AgoraVideoSourceType) videoSourceType
readwritenonatomicassign

The video source just for out channel recoder