NoopVoiceEngine class

Default engine when none is registered: it does NO media. It logs and reports a connected state so control-plane flows can be exercised end-to-end without audio (useful in tests / before wiring a real transport). It never throws.

Implemented types

Constructors

NoopVoiceEngine()

Properties

hashCode → int
The hash code for this object.
no setterinherited
quality → Stream<CallQualitySample>
Periodic quality samples (reported to the control plane + shown in-app).
no setteroverride
remoteCount → Stream<int>
Number of REMOTE participants in the room. The call is "connected" (the other party answered/joined) when this is > 0; it drops when they leave.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
states → Stream<VoiceEngineState>
Transport state changes (local connection to the media room).
no setteroverride

Methods

connect(NexusJoinToken token) → Future<void>
Connect to the media plane for a leg and start capturing/playing audio.
override
disconnect() → Future<void>
Tear down the media connection.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendDtmf(String digit) → Future<void>
Send a DTMF digit over the media session (RFC 4733).
override
setMuted(bool muted) → Future<void>
override
setSpeakerphone(bool on) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited