AgoraMediaRecorderConfiguration Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraObjects.h |
storagePath
The absolute path (including the filename extensions) of the recording file. For example, /App Sandbox/Library/Caches/example.mp4
on iOS and /Library/Logs/example.mp4 on macOS.
@property (copy, nonatomic) NSString *storagePathDiscussion
Note: Ensure that the specified path exists and is writable.
Declared In
AgoraObjects.h
containerFormat
The format of the recording file. See AgoraMediaRecorderContainerFormat.
@property (assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormatDeclared In
AgoraObjects.h
streamType
The recording content. See AgoraMediaRecorderStreamType.
@property (assign, nonatomic) AgoraMediaRecorderStreamType streamTypeDeclared In
AgoraObjects.h
maxDurationMs
The maximum recording duration, in milliseconds. The default value is 120000.
@property (assign, nonatomic) NSUInteger maxDurationMsDeclared In
AgoraObjects.h
recorderInfoUpdateInterval
The interval (ms) of updating the recording information. The value range is [1000,10000].
Based on the set value of recorderInfoUpdateInterval, the SDK triggers the informationDidUpdated
callback to report the updated recording information.
@property (assign, nonatomic) NSUInteger recorderInfoUpdateIntervalDeclared In
AgoraObjects.h