getStreamingText method

  1. @override
Stream<SpeechToTextResponse> getStreamingText({
  1. required Stream<List<int>> stream,
  2. SpeechToTextOptions? options,
  3. CancellationToken? cancellationToken,
})
override

Transcribes the given audio stream as a stream of updates.

Implementation

@override
Stream<SpeechToTextResponse> getStreamingText({
  required Stream<List<int>> stream,
  SpeechToTextOptions? options,
  CancellationToken? cancellationToken,
}) =>
    super.getStreamingText(
      stream: stream,
      options: configure(options ?? SpeechToTextOptions()),
      cancellationToken: cancellationToken,
    );