Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): make sure audio playback finishes #340

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

dkundel-openai
Copy link
Contributor

@dkundel-openai dkundel-openai commented Mar 25, 2025

Previously the stream was closing as soon as all the audio was added but didn't wait for it to be finished. Additionally the audio might seem chopped off if there is no additional silence so this PR also adds one second of silence before exiting the program.

@rm-openai rm-openai merged commit a0c5abc into main Mar 25, 2025
5 checks passed
@rm-openai rm-openai deleted the dkundel/fix-static-audio-player branch March 25, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants