native_cache_video_player 0.1.8
native_cache_video_player: ^0.1.8 copied to clipboard
High-performance Flutter video player with native caching for Android and iOS.
0.1.8 #
- Fix: Resolve video appearing as black on slower devices where ExoPlayer's
STATE_READY(Android) orreadyToPlay(iOS) fires before the video decoder reports the actual frame dimensions. Theinitializedevent now re-sends with correct width/height when the native size callback arrives after a 0×0 initialization.
0.1.7 #
- Fix: Resolve
MissingPluginExceptionwhen disposing video players by correctly unregistering theEventChannelstream handler with the texture ID on both Android and iOS.
0.1.6 #
- Chore: Bumped
video_playerdependency to^2.11.1.
0.1.5 #
- Fix: Resolved issue where
setMixWithOtherswas not propagated to existing player instances on Android and iOS. This ensures that audio focus settings are applied immediately to all active players.
0.1.4 #
- Fix: Resolved
java.lang.OutOfMemoryErroron Android by properly unregistering theEventChannelstream handler whenFLTVideoPlayeris disposed, allowing nativeExoPlayerinstances to be garbage collected.
0.1.2 #
- New Feature: Added
isDisposed()method toNativeCacheVideoPlayerto allow checking if the underlying native player has been evicted due to memory pressure or LRU cache limits. - Fix: Suppress
positionwarnings when a player is already natively disposed.
0.1.1 #
0.1.0 #
- Initial release of
native_cache_video_player. - Core Features:
- Simultaneous video download and caching.
- LRU (Least Recently Used) cache management.
- Background thread processing for cache operations.
- Android: Implementation using Media3/ExoPlayer with
CacheDataSource. - iOS: Implementation using AVFoundation with
AVAssetResourceLoaderDelegate.