pub trait TranscribeAudioStreamExt {
    // Required method
    fn text(self, model: Whisper) -> ChannelTextStream<Segment>;
}
Expand description

An extension trait for transcribing audio streams.

Required Methods§

source

fn text(self, model: Whisper) -> ChannelTextStream<Segment>

Transcribe the audio stream.

Implementors§

source§

impl<S> TranscribeAudioStreamExt for S
where S: Stream + Unpin + Send + 'static, <S as Stream>::Item: Source + Send + 'static, <<S as Stream>::Item as Iterator>::Item: Sample, f32: FromSample<<<S as Stream>::Item as Iterator>::Item>,