LocalVideoStreamState enum
本地视频流状态,及在 LocalVideoStreamError 中对应的错误码
Values
- stopped → const LocalVideoStreamState
-
本地视频采集停止状态(默认初始状态)
对应错误码
ok
- recording → const LocalVideoStreamState
-
本地视频采集设备启动成功
对应错误码
ok
- encoding → const LocalVideoStreamState
-
本地视频采集后,首帧编码成功
对应错误码
ok
- failed → const LocalVideoStreamState
-
本地视频启动失败
- 本地视频采集设备启动失败,对应错误码
failure
- 检测到没有视频采集设备权限,对应错误码
没有权限启动本地视频采集设备
- 视频编码失败,对应错误码
本地视频编码失败
- 本地视频采集设备启动失败,对应错误码
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LocalVideoStreamState> - A constant List of the values in this enum, in order of their declaration.