RemoteVideoStateReason enum

The reason for the remote video state change.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

RemoteVideoStateReason()
const

Values

remoteVideoStateReasonInternal → const RemoteVideoStateReason

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

remoteVideoStateReasonNetworkCongestion → const RemoteVideoStateReason

1: Network congestion.

remoteVideoStateReasonNetworkRecovery → const RemoteVideoStateReason

2: Network is recovered.

remoteVideoStateReasonLocalMuted → const RemoteVideoStateReason

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

remoteVideoStateReasonLocalUnmuted → const RemoteVideoStateReason

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

remoteVideoStateReasonRemoteMuted → const RemoteVideoStateReason

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

remoteVideoStateReasonRemoteUnmuted → const RemoteVideoStateReason

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

remoteVideoStateReasonRemoteOffline → const RemoteVideoStateReason

7: The remote user leaves the channel.

remoteVideoStateReasonAudioFallback → const RemoteVideoStateReason

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

remoteVideoStateReasonAudioFallbackRecovery → const RemoteVideoStateReason

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

remoteVideoStateReasonSdkInBackground → const RemoteVideoStateReason

12: (iOS only) The remote user's app has switched to the background.

remoteVideoStateReasonCodecNotSupport → const RemoteVideoStateReason

13: The local video decoder does not support decoding the remote video stream.

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