Class VADStreamAbstract

Hierarchy

  • VADStream

    Implements

    Constructors

    Methods

    • Mark the end of the current segment.

      Implementations must treat this as a hard segment boundary: drop any accumulated speech/silence state so the next pushed frame starts a fresh segment.

      Returns void

    • Parameters

      • frame: AudioFrame

      Returns void

      Deprecated

      Use updateInputStream instead

    • Parameters

      • audioStream: ReadableStream<AudioFrame>

      Returns void