|
Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
| const char * | storagePath |
| MediaRecorderContainerFormat | containerFormat |
| MediaRecorderStreamType | streamType |
| int | maxDurationMs |
| int | recorderInfoUpdateInterval |
| int | width |
| int | height |
| int | fps |
| int | sample_rate |
| int | channel_num |
| agora::rtc::VIDEO_SOURCE_TYPE | videoSourceType |
Configurations for the local audio and video recording.
|
inline |
|
inline |
| const char* storagePath |
The absolute path (including the filename extensions) of the recording file. For example, C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.mp4 on Windows, /App Sandbox/Library/Caches/example.mp4 on iOS, /Library/Logs/example.mp4 on macOS, and /storage/emulated/0/Android/data/<package name>/files/example.mp4 on Android.
| MediaRecorderContainerFormat containerFormat |
The format of the recording file. See MediaRecorderContainerFormat.
| MediaRecorderStreamType streamType |
The recording content. See MediaRecorderStreamType.
| int maxDurationMs |
The maximum recording duration, in milliseconds. The default value is 120000.
| int 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 onRecorderInfoUpdated callback to report the updated recording information.
| int width |
The video width
| int height |
The video height
| int fps |
The video fps
| int sample_rate |
The audio sample rate
| int channel_num |
The audio channel nums
| agora::rtc::VIDEO_SOURCE_TYPE videoSourceType |
The video source just for out channel recoder