VideoRemoteStateReason enum

The reason for the remote video state change.

Inheritance

Constructors

VideoRemoteStateReason()
const

Values

Internal → const VideoRemoteStateReason

0: The SDK reports this reason when the video state changes.

NetworkCongestion → const VideoRemoteStateReason

1: Network congestion.

NetworkRecovery → const VideoRemoteStateReason

2: Network recovery.

LocalMuted → const VideoRemoteStateReason

3: The local user stops receiving the remote video stream or disables the video module.

LocalUnmuted → const VideoRemoteStateReason

4: The local user resumes receiving the remote video stream or enables the video module.

RemoteMuted → const VideoRemoteStateReason

5: The remote user stops sending the video stream or disables the video module.

RemoteUnmuted → const VideoRemoteStateReason

6: The remote user resumes sending the video stream or enables the video module.

RemoteOffline → const VideoRemoteStateReason

7: The remote user leaves the channel.

AudioFallback → const VideoRemoteStateReason

8: The remote audio-and-video stream falls back to the audio-only stream due to poor network conditions.

AudioFallbackRecovery → const VideoRemoteStateReason

9: The remote audio-only stream switches back to the audio-and-video stream after the network conditions improve.

SDKInBackground → const VideoRemoteStateReason

10: The SDK reports this error code to the local user when a remote user is using the iOS app and the app is in the background. In this case, the local user sees the remote user's video stuck.

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