NERtcLocalRecordingConfig class
@if Chinese 本地录制配置 @endif
- Annotations
-
- @JsonSerializable.new()
Constructors
-
NERtcLocalRecordingConfig({String filePath = '', String fileName = '', int width = 0, int height = 0, int framerate = 15, NERtcLocalRecordingFileType recordFileType = NERtcLocalRecordingFileType.kNERtcLocalRecordingFileTypeMp4, bool remuxToMp4 = false, bool videoMerge = false, bool recordAudio = false, NERtcLocalRecordingAudioFormat audioFormat = NERtcLocalRecordingAudioFormat.kNERtcLocalRecorderAudioFormatAac, bool recordVideo = true, NERtcLocalRecordingVideoMode videoRecordMode = NERtcLocalRecordingVideoMode.kNERtcLocalRecorderVideoWithAudio, List<
NERtcVideoWatermarkConfig> ? watermarkList, String? coverFilePath, List<NERtcVideoWatermarkConfig> ? coverWatermarkList, String? defaultCoverFilePath}) -
NERtcLocalRecordingConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioFormat ↔ NERtcLocalRecordingAudioFormat
-
@if Chinese
录制音频文件的格式
@endif
getter/setter pair
- coverFilePath ↔ String?
-
@if Chinese
录制封面配置
@endif
getter/setter pair
-
coverWatermarkList
↔ List<
NERtcVideoWatermarkConfig> ? -
@if Chinese
录制封面水印配置
@endif
getter/setter pair
- defaultCoverFilePath ↔ String?
-
@if Chinese
录制默认封面配置
@endif
getter/setter pair
- fileName ↔ String
-
@if Chinese
录制文件的名称
@endif
getter/setter pair
- filePath ↔ String
-
@if Chinese
录制文件的路径
@endif
getter/setter pair
- framerate ↔ int
-
@if Chinese
录制视频文件的帧率
@endif
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int
-
@if Chinese
录制视频文件的分辨率高度
@endif
getter/setter pair
- recordAudio ↔ bool
-
@if Chinese
录制音频文件
@endif
getter/setter pair
- recordFileType ↔ NERtcLocalRecordingFileType
-
@if Chinese
录制文件的类型,0是mp4,1是flv
@endif
getter/setter pair
- recordVideo ↔ bool
-
@if Chinese
录制视频文件
@endif
getter/setter pair
- remuxToMp4 ↔ bool
-
@if Chinese
录制文件为flv时,是否转码为mp4
@endif
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoMerge ↔ bool
-
@if Chinese
支持视频合并混流
@endif
getter/setter pair
- videoRecordMode ↔ NERtcLocalRecordingVideoMode
-
@if Chinese
录制视频文件的模式
@endif
getter/setter pair
-
watermarkList
↔ List<
NERtcVideoWatermarkConfig> ? -
@if Chinese
录制水印配置
@endif
getter/setter pair
- width ↔ int
-
@if Chinese
录制视频文件的分辨率宽度
@endif
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited