RemoteAudioState enum

Status of the subscribed remote audio stream and corresponding reason code in RemoteAudioStateChangeReason.

Inheritance
Available extensions

Values

stopped → const RemoteAudioState

Initial status, and will be returned at the following times:

  • Local user stops receiving the remote audio stream, the reason code is localMuted.
  • The remote user stops sending the audio stream, the reason code is remoteMuted.
  • The remote user has left the room, the reason code is remoteOffline.
starting → const RemoteAudioState

Start receiving the remote audio stream header package.

decoding → const RemoteAudioState

The remote audio stream is decoding and playing normally. The state will be returned at the following times:

  • The first frame of the remote audio 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 audio streams, the reason code is localUnmuted.
  • The remote user resumes sending audio streams, the reason code is remoteUnmuted.
frozen → const RemoteAudioState

Remote audio stream stalls.

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

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