|
Video SDK v3.7.1 API Reference for Unity
|
Public Attributes | |
| string | storagePath |
| MediaRecorderContainerFormat | containerFormat |
| MediaRecorderStreamType | streamType |
| int | maxDurationMs |
| int | recorderInfoUpdateInterval |
Configurations for the local audio and video recording.
| string agora_gaming_rtc.MediaRecorderConfiguration.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 agora_gaming_rtc.MediaRecorderConfiguration.containerFormat |
The format of the recording file. See MediaRecorderContainerFormat.
| MediaRecorderStreamType agora_gaming_rtc.MediaRecorderConfiguration.streamType |
The recording content. See MediaRecorderStreamType.
| int agora_gaming_rtc.MediaRecorderConfiguration.maxDurationMs |
The maximum recording duration, in milliseconds. The default value is 120000.
| int agora_gaming_rtc.MediaRecorderConfiguration.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 OnRecorderInfoUpdatedHandler to report the updated recording information.