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

addEventListener FinishedPlaying calls at the wrong time #94

Open
petermjones opened this issue May 15, 2020 · 1 comment
Open

addEventListener FinishedPlaying calls at the wrong time #94

petermjones opened this issue May 15, 2020 · 1 comment

Comments

@petermjones
Copy link

Describe the bug
FinishPlaying is not calling back at the right time.

To Reproduce
When I play an Apple Music preview, and addEventListener, FinishPlaying calls is called every millisecond (according to Reactotron) for hundreds of calls. I put in some code to only process calls that are a second apart. Now, the 30 second Apple Music preview gets a FinishedPlaying callback after 5.8 seconds. This is a problem because I'm trying to loop the music, so I just keep hearing the same 6 seconds of music.

Expected behavior
After the Apple Music preview has finished playing, I should get a FinishedPlaying callback, which should be 30 seconds after it started.

Platform (please complete the following information):
iOS

Additional context

@eufelipe
Copy link

eufelipe commented Oct 8, 2020

same problem

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

2 participants