Skip to content

Enhance error handling and stability for Android VideoPlayer#116

Merged
kdroidFilter merged 1 commit intomasterfrom
android-fix
Sep 21, 2025
Merged

Enhance error handling and stability for Android VideoPlayer#116
kdroidFilter merged 1 commit intomasterfrom
android-fix

Conversation

@kdroidFilter
Copy link
Copy Markdown
Owner

This pull request enhances the error handling and stability of the Android VideoPlayer. Key changes include:

  • Added exception safety for the PlayerView lifecycle, including creation, update, reset, and release.
  • Synchronized player initialization and release using locks.
  • Improved handling of screen lock state and playback recovery.
  • Refactored state variables to use mutableFloatStateOf and mutableDoubleStateOf for better performance.
  • Implemented codec fallback logic to address issues on problematic devices.

- Add exception safety for PlayerView lifecycle (create, update, reset, release).
- Synchronize player initialization/release with locks.
- Improve screen lock state handling and playback recovery.
- Refactor mutable state variables for better performance with `mutableFloatStateOf` and `mutableDoubleStateOf`.
- Implement codec fallback logic for problematic devices.
@kdroidFilter kdroidFilter merged commit 3e3cea7 into master Sep 21, 2025
4 of 6 checks passed
@kdroidFilter kdroidFilter deleted the android-fix branch April 11, 2026 21:17
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.

1 participant