Class TcpAudioInputExperimental

Audio input fed by inbound audio_input console messages. Frames arrive at the wire rate, are resampled to the agent rate, and pushed into the base AudioInput stream that the STT pipeline reads from.

Unlike the python port, no cross-thread queue is needed: the JS console job runs in-process on a single event loop, so a stream channel is sufficient.

Hierarchy

  • AudioInput
    • TcpAudioInput

Constructors

Accessors

Methods

Constructors

Accessors

  • get stream(): ReadableStream<AudioFrame>
  • Returns ReadableStream<AudioFrame>

Methods