BackgroundAudio
A sound bed the runtime plays into the room alongside the agent. Needs the room’s mixing track,Room({ background_audio: true }), like
all audio that is not speech.
Options
The file to play. Anything libav decodes — wav, mp3, ogg, flac, m4a. Empty
is rejected.
mixing or playback. Only mixing has a counterpart on the runtime
today; playback is accepted, warned about, and treated as mixing.run_stt
stt hook was called with.
The shim that lets a hook written against a local STT run unchanged. STT
itself runs in the agent process and only the transcript crosses, so the
audio stream is empty here — draining it is allowed and yields nothing.
Filtering or rewriting the text works as written; transforming the audio does
not.
The hook’s audio stream, if it takes one. Drained and discarded.