Files
next-static-site/markdown/docs/ws/tts-streaming-event.md
Dave Horton 8406b7778b wip (#106)
* wip

* release notes

* wip
2025-01-29 10:55:56 -05:00

860 B

tts:streaming-event

jambonz => websocket server

An tts:streaming-event message is sent by jambonz to indicate a streaming event

The message shall contain an event_type field with one of the following values:

  • stream_open: tokens are now being streamed to the synthesizer; any tokens received before this event would have been queued and are now being sent
  • stream_closed: tokens are no longer being streamed to the synthesizer, but the application may continue sending them; when the stream is next opened the queued tokens will be sent.
  • stream_paused: the token buffer is full and the application should discontinue sending tokens
  • stream_resumed: the application may resume sending tokens

  Prev: overview Next: session:redirect