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

Not Playing Audio after receiving audio chunks #8

Open
dustin-kl opened this issue Jul 8, 2024 · 7 comments
Open

Not Playing Audio after receiving audio chunks #8

dustin-kl opened this issue Jul 8, 2024 · 7 comments

Comments

@dustin-kl
Copy link

dustin-kl commented Jul 8, 2024

I have updated the library to the newest commit and i started to experience that the player would not start playing the audio even though i received the audio chunks and yield them into the audio player. However the state of the audio player changes to .playing but there is no sound that comes out of the speaker.
It does happen 1 in 10-20 times roughly

@mihai8804858
Copy link
Owner

@dustin-kl Can you try on latest release (1.0.4)? If still reproducible, which Xcode/ iOS / device / simulator are you using? Thanks.

@dustin-kl
Copy link
Author

Thanks for answering so fast! I just tested with the newest commit (1.04). Unfortunately it is still happening.

I am using XCode 15.3 and iPhone14 pro and iPhone15 pro as devices.

@mihai8804858
Copy link
Owner

Thanks for answering so fast! I just tested with the newest commit (1.04). Unfortunately it is still happening.

I am using XCode 15.3 and iPhone14 pro and iPhone15 pro as devices.

Thanks, will look into this.

@dustin-kl
Copy link
Author

Thanks!

I find when it happens that the player also never reaches the state .completed though the audio should be only a couple of seconds long. Maybe that helps :)

@mikeg0184
Copy link
Contributor

@mihai8804858 I'm seeing the same thing after testing 1.0.4.

@mihai8804858
Copy link
Owner

Hi @dustin-kl, can you try on latest main branch?

@dustin-kl
Copy link
Author

The problem is still there, but it's a bit different now. It doesn't happen as often, but when it does, it plays the first audio chunk and then stops. Before, it didn't even play the first audio chunk and also it happened more often. Unfortunately, it still sometimes doesn't play the whole audio.

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

No branches or pull requests

3 participants