SubscribeConfig class Null safety

订阅配置

Constructors

SubscribeConfig({required bool isScreen, required bool subVideo, required bool subAudio, required int videoIndex, required int subWidth, required int subHeight, required int subVideoIndex, required int svcLayer, required int frameRate})
SubscribeConfig.fromMap(Map map)
factory

Properties

frameRate ↔ int
期望订阅的最高帧率,单位:fps,默认值为 0,设为大于 0 的值时开始生效 [...]
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
isScreen ↔ bool
是否是屏幕流
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
subAudio ↔ bool
是否订阅音频
read / write
subHeight ↔ int
视频高度,单位:px
read / write
subVideo ↔ bool
是否订阅视频
read / write
subVideoIndex ↔ int
暂不可用
read / write
subWidth ↔ int
视频宽度,单位:px
read / write
svcLayer ↔ int
订阅的视频流时域分层,默认值为 0,Android 暂不可用
read / write
videoIndex ↔ int
订阅的视频流分辨率下标,Android 暂不可用 [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited