Streaming synthesis against the /v2/speak WebSocket.

Hierarchy (view full)

Constructors

Properties

label: string = 'deepgram.SynthesizeStreamv2'
END_OF_STREAM: typeof END_OF_STREAM

Accessors

  • get abortSignal(): AbortSignal
  • Returns AbortSignal

Methods

  • Close both the input and output of the TTS stream

    Returns void

  • Mark the input as ended and forbid additional pushes

    Returns void

  • Flush the TTS, causing it to process all pending text

    Returns void

  • Parameters

    • text: string

    Returns void

    Deprecated

    Use updateInputStream instead

  • Parameters

    • text: ReadableStream<string>

    Returns void