RemoteVideoState enum

Remote video stream status and corresponding reason code in RemoteVideoStateChangeReason.

Inheritance
Available extensions

Values

stopped → const RemoteVideoState

Initial status. This state will be called back at the following times:

  • Local user stops receiving remote video streams, the reason code is localMuted.
  • Remote user stops sending video streams, the reason code is remoteMuted.
  • Remote user leaves the room, the reason code is remoteOffline.
starting → const RemoteVideoState

Local user has received the remote video header package, the reason code is localUnmuted.

decoding → const RemoteVideoState

The remote video stream is decoding and playing normally, callback the status at the following times:

  • The first frame of remote video is successfully decoded, the reason code is localUnmuted.
  • The network is back to normal from being blocked, the reason code is networkRecovery.
  • The local user resumes receiving remote video streams, the reason code is localUnmuted.
  • The remote user resumes sending video stream, the reason code is remoteUnmuted.
frozen → const RemoteVideoState

Remote video stream stalls.

This state will be called back when network blocking causes packet loss greater than 40%, the reason code is networkCongestion.

failed → const RemoteVideoState

Remote video stream playback failed.

This state will be called back when internal processing of remote video streams fails, the reason code is internal.

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