TRTCLocalRecordingParams class
录制参数
Constructors
- TRTCLocalRecordingParams({required String filePath, required int recordType, int interval = -1, int maxDurationPerFile = 0})
Properties
- filePath ↔ String
-
字段说明:录制文件的地址,必填。请确保路径具有读写权限,否则无法生成录制文件。
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval ↔ int
-
字段说明:
interval
是录制信息更新频率,单位为毫秒。取值范围:1000
-10000
。默认值:-1
,表示不回调getter/setter pair - maxDurationPerFile ↔ int
-
字段说明:录制文件分段时长,单位为毫秒,最小值为
10000
。默认值为0
,表示不分段。getter/setter pair - recordType ↔ int
-
字段说明:媒体录制类型,默认为
TRTCRecordTypeBoth
,表示录制音频和视频。getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - 将当前对象转换为 JSON 格式。
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited