Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): use UI thread to pause when lost audio focus #3916

Merged
merged 25 commits into from
Jun 20, 2024

Conversation

freeboub
Copy link
Collaborator

Summary

fix thread access on android when audio focus loss is received

Motivation

Avoid crash and refix: #2966 (comment)

Changes

Just run pausePlayback in UIThread

freeboub and others added 25 commits May 5, 2024 21:06
…ideo

# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java
#	src/Video.tsx
…fix/avoidVideoResizingFlickering

# Conflicts:
#	.github/ISSUE_TEMPLATE/bug-report.yml
* fix: ensure player doesn't start when view is unmounted
@KrzysztofMoch KrzysztofMoch changed the title Fix/thread issue with pause fix(android): use UI thread to pause when lost audio focus Jun 20, 2024
@freeboub freeboub merged commit 856b1dd into TheWidlarzGroup:master Jun 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants