You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
better_player_android
1.12.0
Updated: Upgraded androidx.media3 to 1.11.1, androidx.lifecycle to 2.11.0, androidx.annotation to 1.11.0, and androidx.work:work-runtime to 2.12.0.
Updated: Removed legacy unused androidx.media:media dependency and imports.
Fixed: Pre-cache worker falsely reporting HTTP errors as completed downloads.
Fixed: Widevine DRM defaulting to L3 software security level when drmSecurityLevel is not specified.
better_player_ios
1.12.0
[BREAKING_CHANGE] Fixed: Resolved FairPlay key loading thread deadlocks by removing blocking DispatchSemaphore, made assetId strictly local per request to prevent race conditions, added thread-safe certificate caching with in-flight request deduplication, and scoped EZDRM URL path rewriting to EZDRM domains only. Non-EZDRM license servers now receive standard direct POST requests.
Fixed: CacheManager shared state race condition during concurrent pre-caching and dynamic maxCacheSize updates.
better_player_macos
1.7.0
[BREAKING_CHANGE] Fixed: Resolved FairPlay key loading thread deadlocks by removing blocking DispatchSemaphore, made assetId strictly local per request to prevent race conditions, added thread-safe certificate caching with in-flight request deduplication, and scoped EZDRM URL path rewriting to EZDRM domains only. Non-EZDRM license servers now receive standard direct POST requests.
Fixed: CacheManager shared state race condition during concurrent pre-caching and dynamic maxCacheSize updates.
better_player_web
1.5.0
Added: ClearKey DRM support on Web via Shaka Player clearKeys (supporting both standard and Base64Url JWKs and hex keys) and servers['org.w3.clearkey'] (for license servers).
better_player
1.34.0
[BREAKING_CHANGE] Updated: Streamlined BetterPlayerFeedController collection and lease methods. Replaced insertDataSources with insertAll({required int index, required List<PlayerDataSource> sources, List<String>? ids}), replaced replaceAt with replace({required int index, required PlayerDataSource dataSource, String? id}), replaced getLeaseNotifier(index) with leaseNotifier(index), and required named parameters on insert({required int index, required PlayerDataSource dataSource, String? id}). Removed unused feedConfiguration constructor parameter.
[BREAKING_CHANGE] Updated: Removed unused onProgress parameter from PlayerEngineController.preCache (all pre-cache events flow through preCacheProgressStream).
Added: Playback controls on BetterPlayerFeedController (play, pause, togglePlay, isPlaying, activeController) and dynamic autoPlay property.
Added: Feed navigation helpers (jumpTo, next, previous) and collection helpers (add, addAll, positional removeAt, retry with default active index) on BetterPlayerFeedController.
Fixed: Wired PlayerFeedConfiguration.autoPlay to feed playback and added PlayerFeedConfiguration.copyWith.
Fixed: Resolved byte truncation bug in BetterPlayerClearKeyUtils.generateKey preserving leading zero bytes in 16-byte DRM keys.
Fixed: Decoded network subtitles as UTF-8 via response bytes to prevent Latin-1 encoding corruption, and guarded against HTTP error response bodies.
Fixed: BetterPlayerPool active index protection during slot eviction, failed lease slot reuse, and concurrent bind state tracking.
Updated: Bumped federated sub-packages: better_player_android to ^1.12.0, better_player_ios to ^1.12.0, better_player_macos to ^1.7.0, and better_player_web to ^1.5.0.