SubscribeStateChangeReason enum

订阅媒体流状态改变原因

Inheritance
Available extensions

Values

subscribe → const SubscribeStateChangeReason

本端调用订阅

unsubscribe → const SubscribeStateChangeReason

本端取消订阅

remotePublish → const SubscribeStateChangeReason

远端发布流

remoteUnpublish → const SubscribeStateChangeReason

远端取消发布流

streamFailed5xx → const SubscribeStateChangeReason

由于服务器错误导致订阅失败。SDK 会自动重试订阅

streamFailed404 → const SubscribeStateChangeReason

当前房间中找不到订阅的音视频流导致订阅失败。SDK 会自动重试订阅,若仍订阅失败则建议你退出重试

overStreamSubscribeLimit → const SubscribeStateChangeReason

当用户订阅的音视频流总数已达上限时,继续订阅更多流时会失败,同时用户会收到此错误通知

noSubscribePermission → const SubscribeStateChangeReason

用户订阅所在房间中的音视频流失败,失败原因为用户没有订阅流的权限

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<SubscribeStateChangeReason>
A constant List of the values in this enum, in order of their declaration.