Documentation
Interactive Live Streaming Premium (Legacy)
API Reference
AgoraMediaRecorderConfiguration Class Reference
Agora Objective-C API Reference for iOS/macOS
AgoraMediaRecorderConfiguration Class Reference
Inherits from |
NSObject |
Declared in |
AgoraObjects.h |
Overview
Configurations for the local audio and video recording.
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 *storagePath
Discussion
Note: Ensure that the specified path exists and is writable.
Declared In
AgoraObjects.h
@property (assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat
Declared In
AgoraObjects.h
@property (assign, nonatomic) AgoraMediaRecorderStreamType streamType
Declared In
AgoraObjects.h
The maximum recording duration, in milliseconds. The default value is 120000.
@property (assign, nonatomic) NSUInteger maxDurationMs
Declared In
AgoraObjects.h
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 recorderInfoUpdateInterval
Declared In
AgoraObjects.h