NexusVoiceEngine class abstract

The media-transport seam. Nexus Voice's control plane is engine-agnostic; the actual WebRTC connection to the media plane (LiveKit) is provided by a NexusVoiceEngine. Ship a real engine by registering one via Nexus.instance.voice.useEngine(...) — e.g. a thin adapter over livekit_client (see the SDK README). Keeping media out of the core keeps the base package dependency-light and lets any transport slot in.

Implementers

Constructors

NexusVoiceEngine()

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 setter
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 setter
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 setter

Methods

connect(NexusJoinToken token) → Future<void>
Connect to the media plane for a leg and start capturing/playing audio.
disconnect() → Future<void>
Tear down the media connection.
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).
setMuted(bool muted) → Future<void>
setSpeakerphone(bool on) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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