Infinite Streaming Not Working with Google Speech-to-Text API v2 #12053
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
samples
Issues that are directly related to samples.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I have encountered issues with the implementation of infinite streaming in Google Speech-to-Text API v2, as proposed in the resolved issue #11596. The provided example does not function as expected for continuous streaming. Here are the main problems:
Max Duration Limit:
After 5 minutes of streaming, the following error is received:
Audio Chunk Size Limit:
When using smaller models like telephony_short, the stream fails with the following error:
Additional Context:
The original issue highlighted the need for a functional infinite streaming example for one of the most common use cases of the API. However, the current implementation does not meet the requirements for true infinite streaming due to the aforementioned limitations.
The text was updated successfully, but these errors were encountered: