Skip to content

feat(player): add runtime decoder mode switcher#1782

Open
anilbeesetti wants to merge 4 commits into
mainfrom
codex/decoder-mode-switcher
Open

feat(player): add runtime decoder mode switcher#1782
anilbeesetti wants to merge 4 commits into
mainfrom
codex/decoder-mode-switcher

Conversation

@anilbeesetti

Copy link
Copy Markdown
Owner

Summary

  • add HW+, HW, and SW decoder switching from player controls without recreating ExoPlayer
  • keep video/audio renderer selection aligned with the chosen mode and support optional HW+ audio fallback in SW mode
  • silently recover default HW+ failures with SW, while explicit unsupported selections require confirmation
  • detect unsupported and unmapped video tracks, expose exhausted recovery through the existing error dialog, and log actual decoder analytics

Testing

  • ./gradlew :feature:player:ktlintCheck :feature:player:testDebugUnitTest :app:assembleDebug --console=plain
  • emulator-5554: HW+, HW, SW decoder initialization
  • emulator-5554: silent HW+ to SW fallback with MPEG-2 4:2:2
  • emulator-5554: explicit HW to SW and SW to HW+ confirmation recovery
  • emulator-5554: HW+ to HW position preservation and same-player media transition reset
  • emulator-5554: one ExoPlayer instance and empty crash log

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