PersistentStreamPlayer icon indicating copy to clipboard operation
PersistentStreamPlayer copied to clipboard

Player starts randomly when Screen is locked

Open luciilucii opened this issue 6 years ago • 2 comments

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?

luciilucii avatar Nov 27 '19 09:11 luciilucii

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

normand1 avatar Aug 31 '20 02:08 normand1

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

luciilucii avatar Sep 01 '20 06:09 luciilucii