better_player_macos
macOS implementation of the better_player plugin.
Usage
This package is a federated plugin implementation. Do not depend on it directly. Use the main better_player package instead:
dependencies:
better_player: ^1.20.0
Requirements
- macOS: 10.15 (Catalina) or higher.
- App Sandbox: If your macOS app uses App Sandbox (the default for Flutter desktop apps), enable outgoing network connections in
macos/Runner/DebugProfile.entitlementsandmacos/Runner/Release.entitlements:
<key>com.apple.security.network.client</key>
<true/>
Features
- Native
AVPlayerplayback engine. AppKitViewplatform view rendering backed byAVPlayerLayer.- HLS adaptive streaming and progressive playback.
- FairPlay DRM and ClearKey support.
- Picture-in-Picture via
AVPictureInPictureController. - Caching and pre-caching.