Fixes #116. Listen to audio focus change #117
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
consider soon
dependencies
documentation
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-react-native#117
Loading…
Reference in a new issue
No description provided.
Delete branch "audio-focus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Thanks for the PR @michaeltintiuc . We'll get this reviewed and then can we show you some appreciation for your contribution?
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.