python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Enforce 25Kb limit for infinite transcription

Open suvigyajain0101 opened this issue 9 months ago • 1 comments

Description

Current implementation breaks when a new stream is created, even under 5 min limit. This is due to the missing logic to handle 25KB stream size limit [1]

Updated the 'generator' function to yield data as soon as API limit is reached.

[1] - https://github.com/GoogleCloudPlatform/python-docs-samples/issues/12053

Fixes #12053

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

suvigyajain0101 avatar Apr 14 '25 12:04 suvigyajain0101

Hi @kharvey-google Please let me know if you need additional information from my side. Thanks!

suvigyajain0101 avatar Apr 22 '25 15:04 suvigyajain0101

@suvigyajain0101 - Kindly remember to update Checklist in the PR description to timely assist your better.

msampathkumar avatar Nov 07 '25 15:11 msampathkumar