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

Using as peek VC messes with playback #72

Closed
individual11 opened this issue May 23, 2016 · 1 comment
Closed

Using as peek VC messes with playback #72

individual11 opened this issue May 23, 2016 · 1 comment
Labels

Comments

@individual11
Copy link

Still investigating, but if use the player as VC for a peek, the playback is sporadic. Sometimes it plays super fast all the way through, then the next time it will play at normal speed but choppy. I'm still looking further into it, because I LOVE the player and it works perfectly everywhere else I'm using.

@individual11
Copy link
Author

individual11 commented May 24, 2016

this code is firing several times, but only in Peek

case (.Some(PlayerKeepUp), &PlayerItemObserverContext):
            if let item = self.playerItem {
                self.bufferingState = .Ready
                self.playerDelegate?.playerBufferingStateDidChange?(self)

                if item.playbackLikelyToKeepUp && self.playbackState == .Playing {
                    print("WEIRD ONE")
                    //self.playFromCurrentTime()
                }
            }

@piemonte piemonte added the bug label Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants