PublicStreamErrorCode enum

公共流状态码

Inheritance

Constructors

PublicStreamErrorCode()
const

Values

success → const PublicStreamErrorCode

发布或订阅成功

pushParamError → const PublicStreamErrorCode

公共流的参数异常,请修改参数后重试

pushStateError → const PublicStreamErrorCode

服务端状态异常,将自动重试

pushInternalError → const PublicStreamErrorCode

内部错误,不可恢复,请重试。

pushError → const PublicStreamErrorCode

推流失败,将自动重试,用户不需要处理

pushTimeOut → const PublicStreamErrorCode

推流失败,10 s 后会重试,重试 3 次后停止重试

pullNoPushStream → const PublicStreamErrorCode

订阅失败,发布端未开始发布流。

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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<PublicStreamErrorCode>
A constant List of the values in this enum, in order of their declaration.
[success, pushParamError, pushStateError, pushInternalError, pushError, pushTimeOut, pullNoPushStream]