Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Player starts randomly when Screen is locked #7

@luciilucii

Description

@luciilucii

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions