Releases: FlutterPlaza/av_player
Releases · FlutterPlaza/av_player
v0.4.0 — Pigeon Migration + Performance Features
Added
- Pigeon migration — type-safe Dart-to-native communication for all 5 native platforms (Android, iOS, macOS, Windows, Linux)
- Adaptive bitrate streaming (ABR) configuration API (
setAbrConfig,AVAbrConfig,AVAbrInfoEvent) - Hardware decoder info query (
getDecoderInfo,AVDecoderInfo) - Memory pressure monitoring with automatic quality reduction (
AVMemoryPressureEvent,AVMemoryPressureLevel) - Android: ExoPlayer
DefaultTrackSelectorfor ABR,MediaCodecListfor decoder info,ComponentCallbacks2for memory pressure - iOS:
preferredPeakBitRate/preferredMaximumResolutionfor ABR, VideoToolbox for decoder info, memory warning observer - macOS: Same AVFoundation/VideoToolbox APIs as iOS,
DispatchSource.makeMemoryPressureSourcefor memory pressure - Windows: D3D11VideoDevice for decoder info,
CreateMemoryResourceNotificationfor memory pressure - Linux:
/proc/meminfopolling for memory pressure - 22 new tests (334 total), all passing
Changed
- All 5 native plugins now use Pigeon-generated
AvPlayerHostApiinterfaces instead of hand-written MethodChannel dispatch - Shared
PigeonAvPlayerDart adapter base class — platform implementations are thin wrappers - EventChannels preserved unchanged (Pigeon doesn't generate EventChannel code)
v0.3.0
Added
- Full Windows platform implementation (stub)
- 13 on-device integration tests (network, asset, file, PIP, playlist, volume, brightness, wakelock, multi-player)
- 341 unit/widget tests covering controls, gestures, PIP overlay, and theming
- CI workflow with coverage reporting (Codecov)
- GIF demos in README for all major features
Fixed
- macOS asset lookup bug —
Bundle.main.path(forResource:)could not find Flutter assets in the nestedApp.framework; now constructs the correct path viaBundle.main.bundlePath+lookupKey dispose()called duringnotifyListeners()in music player and playlist screens when track auto-advances- Broken Google CDN video URLs replaced with reliable alternatives
Changed
- README updated with CI, coverage, pub points, and popularity badges
- Consolidated CI workflows (
ci.yamlmerged intoav_player.yaml)
v0.2.1
Added
- Swift Package Manager (SPM) support for iOS and macOS
- Both CocoaPods and SPM are supported simultaneously
- Added SPM setup instructions to README
Fixed
- macOS podspec version now stays in sync with the package version