Skip to content

Conversation

kdroidFilter
Copy link
Owner

@kdroidFilter kdroidFilter commented Sep 21, 2025

Description of Changes

This pull request includes various improvements and updates to enhance the stability, compatibility, and functionality of the media player on both Android and iOS platforms:

  • Android:

    • Enhanced error handling and stability for the Android VideoPlayer.
    • Added exception safety for PlayerView lifecycle methods.
    • Synchronized player initialization/release using locks.
    • Improved screen lock state handling and playback recovery.
    • Refactored mutable state variables for better performance using mutableFloatStateOf and mutableDoubleStateOf.
    • Implemented codec fallback logic for problematic devices.
  • SDK and Build Improvements:

    • Bumped compileSdk and targetSdk versions to 36 for Android.

Checklist

  • Tests added or updated as appropriate.
  • Documentation updated, if relevant.
  • Verified compatibility and functionality on multiple devices/platforms.

- 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 changed the base branch from master to update-dep September 21, 2025 17:45
@kdroidFilter kdroidFilter changed the title Enhance media player stability and compatibility on Android and iOS Enhance media player stability and compatibility on Android Sep 21, 2025
@kdroidFilter kdroidFilter merged commit 01e6865 into update-dep Sep 21, 2025
2 of 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.

1 participant