LocalVideoStreamError enum

本地视频状态改变时的错误码

Inheritance

Constructors

LocalVideoStreamError()
const

Values

ok → const LocalVideoStreamError

状态正常(本地视频状态改变正常时默认返回值)

failure → const LocalVideoStreamError

本地视频流发布失败

deviceNoPermission → const LocalVideoStreamError

没有权限启动本地视频采集设备

deviceBusy → const LocalVideoStreamError

本地视频采集设备已被占用

deviceNotFound → const LocalVideoStreamError

本地视频采集设备不存在或已移除

captureFailure → const LocalVideoStreamError

本地视频采集失败,建议检查采集设备是否正常工作

encodeFailure → const LocalVideoStreamError

本地视频编码失败

deviceDisconnected → const LocalVideoStreamError

通话过程中本地视频采集设备被其他程序抢占,导致设备连接中断

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<LocalVideoStreamError>
A constant List of the values in this enum, in order of their declaration.