Fixes #116. Listen to audio focus change #117

Merged
michaeltintiuc merged 1 commit from audio-focus into master 2020-02-04 05:12:15 +01:00
michaeltintiuc commented 2020-02-01 14:46:34 +01:00 (Migrated from github.com)

This mainly fixes the issue of video not pausing when another stream is played (music, voip calls, etc). This is true for both cases when background playback is on and off.
An extra minor fix is updating the background media controls (notification bar) when toggling play state.

In support:
https://github.com/lbryio/react-native-video/pull/1

This mainly fixes the issue of video not pausing when another stream is played (music, voip calls, etc). This is true for both cases when background playback is on and off. An extra minor fix is updating the background media controls (notification bar) when toggling play state. In support: https://github.com/lbryio/react-native-video/pull/1
tzarebczan commented 2020-02-03 23:12:45 +01:00 (Migrated from github.com)

Thanks for the PR @michaeltintiuc . We'll get this reviewed and then can we show you some appreciation for your contribution?

Thanks for the PR @michaeltintiuc . We'll get this reviewed and then can we show you some [appreciation](https://lbry.com/faq/appreciation) for your contribution?
akinwale (Migrated from github.com) approved these changes 2020-02-04 05:12:01 +01:00
akinwale (Migrated from github.com) left a comment

Thanks for this. This will also help in cases where another video starts playing while a previous one is stuck in the background, until we can find a way to properly unmount the media player without issues.

Thanks for this. This will also help in cases where another video starts playing while a previous one is stuck in the background, until we can find a way to properly unmount the media player without issues.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-react-native#117
No description provided.