Skip to main content

AudioByteStream

Type Alias AudioByteStream 

Source
pub type AudioByteStream = Pin<Box<dyn Stream<Item = Result<Bytes>> + Send>>;
Expand description

Boxed asynchronous stream of audio chunks returned by the streaming TTS endpoint.

Aliased Typeยง

pub struct AudioByteStream { /* private fields */ }