AudioEngineState class
Snapshot of the WebRTC audio engine's playout/recording state.
Surfaced by AudioManager from real audio-engine lifecycle events on the native side (iOS and macOS). This is the source of truth for audio activity, replacing the legacy track-counting state.
Constructors
- AudioEngineState({required bool isPlayoutEnabled, required bool isRecordingEnabled})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isIdle → bool
-
Whether the engine is neither playing out nor recording.
no setter
- isPlayoutEnabled → bool
-
Whether the engine has playout (output / remote audio) enabled.
final
- isRecordingEnabled → bool
-
Whether the engine has recording (input / local mic) enabled.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override