apivideo / api.video-reactnative-player

React Native video player
https://api.video
MIT License
17 stars 2 forks source link

[Bug]: When I listen to music from a music app and start the player, the music stops #28

Open martwozniak opened 1 month ago

martwozniak commented 1 month ago

Version

"@api.video/react-native-player": "^1.0.2",

Environment that reproduces the issue

When I listen to music from a music app (e.g. Radio, Apple Music, YouTube Music) and start the player, the music stops. When I start the music player is paused. When I start the player, the music stops playing.

Is it reproducible in the example application?

Yes

Reproduction steps

  1. launch radio / music streaming app 2 Start listening to any song
  2. launch video on the mobile app
  3. while the music is playing, the video is paused
  4. when you start the video the music pauses

Expected result

  1. when the music plays, the video plays
  2. when you start the video the music is heard

Actual result

  1. while the music is playing, the video is paused
  2. when you start the video the music pauses

Additional context

Tested on iphone 15 pro, apple radio, youtube music and other music streaming apps

Relevant logs output

No response

olivierapivideo commented 2 weeks ago

hi @martwozniak Unfortunately, we won't be able to solve this problem any time soon. We'll only be able to do so when the react native player will use our native mobile players, which is planned for the coming months. Sorry for the inconvenience