Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

fix: seek method did notify delegate to early #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rabrschmidt
Copy link

When seeking the jukebox didn't wait for AVPlayer to finish seeking before notifying delegate.
When delegate receives this message, progress is still on state before seeking.

AVPlayer offers a method with completionBlock, which is called when seeking is finished.
Using this completionBlock to notify the delegate resolves some issues with seeking.

When seeking the jukebox didn't wait for AVPlayer to finish seeking before notifying delegate.
When delegate receives this message, progress is still on state before seeking.

AVPlayer offers a method with completionBlock, which is called when seeking is finished. 
Using this completionBlock to notify the delegate resolves some issues with seeking.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant