Skip to content

[BUG]: Video playback breaks media controls (lock screen controls) for audio players #4790

@lbuljan

Description

@lbuljan

Version

6.18.0

What platforms are you having the problem on?

iOS

System Version

Any

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

After playing a video using react-native-video, media center controls (lock screen media controls) on iOS never show up again when other content is played (audio via react-native-track-player). Doesn't matter which library starts first, video playback always breaks lock screen media controls.

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

  1. Play a video using react-native-video.
  2. Play an audio using react-native-track-player or similar
  3. Lock the phone and notice that no lock screen controls are shown.

alternatively:

  1. Play an audio using react-native-track-player or similar
  2. Lock the phone and notice that lock screen controls show correctly
  3. Go back into the app and play a video using react-native-video
  4. Play an audio again and lock your phone
  5. Lock screen controls will not show up ever again until the app has been fully restarted and until a video is played again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions