VadStream class
Live VAD stream: push frames, then flush/finish/close.
Constructors
-
VadStream({required Stream<
VadEvent> events, required void pushHandler(AudioFrame frame), required void flushHandler(), required void finishHandler(), required Future<void> closeHandler()}) -
Internal — build through
vad.openStream.
Properties
Methods
-
close(
) → Future< void> - Release the stream. Idempotent.
-
finish(
) → void - Signal end of input.
-
flush(
) → void - No-op: every pushed frame is processed as it arrives.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pushFrame(
AudioFrame frame) → void - Push one PCM frame in the stream's established format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited