public static class AgoraMediaRecorder.MediaRecorderConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
containerFormat
The format of the recording file.
|
int |
maxDurationMs
The maximum recording duration, in milliseconds.
|
int |
recorderInfoUpdateInterval
The interval (ms) of updating the recording information.
|
java.lang.String |
storagePath
The absolute path (including the filename extensions) for the recording file.
|
int |
streamType
The recording content:
-
STREAM_TYPE_AUDIO(0x1) : Only audio. |
Constructor and Description |
---|
MediaRecorderConfiguration(java.lang.String storagePath,
int containerFormat,
int streamType,
int maxDurationMs,
int recorderInfoUpdateInterval) |
public java.lang.String storagePath
public int containerFormat
CONTAINER_MP4(1)
.public int streamType
STREAM_TYPE_AUDIO(0x1)
: Only audio.
- STREAM_TYPE_VIDEO(0x2)
: Only video.
- STREAM_TYPE_BOTH(0x3)
: (Default) Audio and video.public int maxDurationMs
public int recorderInfoUpdateInterval
onRecorderInfoUpdated
callback to report the updated recording information.