better_player_ios 1.5.2
better_player_ios: ^1.5.2 copied to clipboard
The iOS implementation of the better_player plugin, providing high-performance video playback using AVPlayer and FFI for seamless integration in Flutter apps.
1.5.2 #
- Fixed: Disabled automatic native closed caption selection (
appliesMediaSelectionCriteriaAutomatically = false) onAVPlayerto prevent duplicate subtitles on iOS (#1103).
1.5.1 #
- Fixed: Reset
isInitializedwhen swappingAVPlayerItemdata sources so the new stream emitsonInitializedproperly.
1.5.0 #
- Fixed: Blocked HLS pre-caching attempts. Pre-caching HLS streams natively caches only the playlist file (causing silent bypasses on iOS).
- Updated: Documented the fallback to
mp4inCacheManagerfor streams with unknown extensions. - Fixed: Enhanced error logging to include
NSErrordetails inFlutterErrorpayload forAVPlayerItemfailures. - Fixed: iOS player crash and freeze during seek operations (#1342).
1.4.0 #
- Updated: Increased playback speed limit to 4x and improved audio quality at high speeds using
.timeDomainpitch algorithm. - Fixed: Programmatic PiP dismissal no longer stops the parent media player.
1.3.1 #
- Updated: package metadata
1.3.0 #
- Fixed: Resolved a race condition where video duration was reported as zero on iOS for non-live sources.
- Fixed: Resolved CocoaPods build issues including protocol loading exceptions, static linking stripping, and podspec alignments.
1.2.0 #
- Added: Support for native-to-Dart log streaming (
setupLogCallback) via FFI for AVPlayer. - Added: Reintroduced
exampledirectory with documentation to the package. - Updated: Enhanced package description in
pubspec.yamlfor better discoverability.
1.1.0 #
- Added: Migrated native implementation to Swift FFI using
swiftgen, enabling directAVPlayerinteraction without MethodChannel overhead.
1.0.2 #
- Docs: Updated model name references in example.md.
1.0.1 #
- Add thin examples to platform packages and decoupled example app.
1.0.0 #
- Updated: Extracted iOS native code from the core package into a standalone federated plugin package (
better_player_ios). - Fixed: Restored remote notification (lock screen) controls by correctly storing data source information.