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

Player starts randomly when Screen is locked #7

Open
luciilucii opened this issue Nov 27, 2019 · 2 comments
Open

Player starts randomly when Screen is locked #7

luciilucii opened this issue Nov 27, 2019 · 2 comments

Comments

@luciilucii
Copy link

Hey there,

I've build in the PersistentStreamPlayer and works as expected!

However, I'm facing some issues when the iPhone locked, or when unlocking the iPhone. When unlocking the Screen, the player starts playing.

I'm using the AppDelegate class to stop the player right away, but it's still playing for about 0.5 seconds.

Another case is when starting the player, stopping it, locking the screen & then activating the screen (Not unlocking). The player starts playing then.

The second case is only in iOS 13, the first case even in lower versions.

Any ideas on how I can fix this? Do you need some more infos?

@normand1
Copy link

@luciilucii I've also seen this behavior, have you found a solution yet?

@luciilucii
Copy link
Author

I ended up editing the PersitentStreamPlayer. I don't remember what it was, but I recommend debugging the functions in the .m file. This should show you what is being triggered. Hope this helps

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