外部导入音视频流定义。
-
Annotations
@JsonSerializable(explicitToJson: true)
Constructors
-
LiveInjectStreamConfig({int width, int height, int videoGop, VideoFrameRate videoFramerate, int videoBitrate, AudioSampleRateType audioSampleRate, int audioBitrate, AudioChannel audioChannels})
Constructs a LiveInjectStreamConfig
-
LiveInjectStreamConfig.fromJson(Map<String, dynamic> json)
factory
Properties
-
添加进入直播的外部音频码率。单位为 Kbps,默认值为 48。 [...]
@JsonKey(includeIfNull: false), read / write
-
添加进入直播的外部音频频道数。取值范围为 1 或 2,默认值为 1。 [...]@JsonKey(includeIfNull: false), read / write
-
audioSampleRate ↔ AudioSampleRateType
添加进入直播的外部音频采样率。默认值为 44100,详见 AudioSampleRateType。 [...]@JsonKey(includeIfNull: false), read / write
-
The hash code for this object. [...]read-only, inherited
-
添加进入直播的外部视频源高度,单位为像素。默认值为 0,即保留视频源原始高度。read / write
-
A representation of the runtime type of the object.read-only, inherited
-
添加进入直播的外部视频源码率。默认设置为 400 Kbps。@JsonKey(includeIfNull: false), read / write
-
videoFramerate ↔ VideoFrameRate
添加进入直播的外部视频源帧率。默认值为 15 fps。@JsonKey(includeIfNull: false), read / write
-
添加进入直播的外部视频源 GOP。默认值为 30 帧。@JsonKey(includeIfNull: false), read / write
-
添加进入直播的外部视频源宽度,单位为像素。默认值为 0,即保留视频源原始宽度。read / write
Methods
-
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]inherited
-
Returns a string representation of this object.inherited
Operators
-
operator ==(Object other) → bool
The equality operator. [...]inherited