From d8498882219c32c5bdb172ef9f0d0a7efdd90d92 Mon Sep 17 00:00:00 2001 From: Fabian Reyes Date: Fri, 29 Aug 2025 21:34:47 -0500 Subject: [PATCH 1/4] feat(vlc_android): update vlc android lib to support 16k PAGE_SIZE --- flutter_vlc_player/CHANGELOG.md | 120 ++++++++++++++++-------- flutter_vlc_player/android/build.gradle | 2 +- flutter_vlc_player/pubspec.yaml | 2 +- 3 files changed, 85 insertions(+), 39 deletions(-) diff --git a/flutter_vlc_player/CHANGELOG.md b/flutter_vlc_player/CHANGELOG.md index 67c67aea..8b9bdcbb 100644 --- a/flutter_vlc_player/CHANGELOG.md +++ b/flutter_vlc_player/CHANGELOG.md @@ -1,4 +1,9 @@ +## 7.4.4 + +* [Android] Updated libvlc to support 16k PAGE_SIZE devices + ## 7.4.3 + * Bumped minimum Flutter SDK requirement to 3.22.0 and Dart SDK requirement to 3.7.0. The minimum supported Android version is now 5.0 (API level 21) * [Android] updated libvlc * [Android] set Java compatibility to 11 instead of 8 @@ -6,18 +11,21 @@ * updated exmaple ## 7.4.2 + * fixed getVolume #486 Credits to pinpong (https://github.com/pinpong) * updated MobileVLCKit & libvlc Credits to pinpong (https://github.com/pinpong) * Fix: Unable to replay when status is stopped #449 - Credits to Virczz (https://github.com/Virczz) + Credits to Virczz (https://github.com/Virczz) ## 7.4.1 + * Add support for Flutter 3.16 Credits to thearaks (https://github.com/thearaks) ## 7.4.0 + * Important change: Removed [AutomaticKeepAliveClientMixin](https://api.flutter.dev/flutter/widgets/AutomaticKeepAliveClientMixin-mixin.html) from plugin widget * Mobile VLC update to 3.6.0-eap9 * Allow background playback @@ -26,165 +34,203 @@ Credits to Luiz Fernando Baldo Marques (https://github.com/luizbaldo) ## 7.3.1 + * Restore Flutter 3.3-3.7 compatibility Credits to Yang Fang (https://github.com/yangsfang) ## 7.3.0 + * Fix http-user-agent & reuse options on iOS Credits to Afriza N. Arief (https://github.com/afriza) * Update to Dart 3 and Flutter 3.13 Credits to romain.gyh (https://github.com/romaingyh) ## 7.2.0 + * Update to latest VLCKit sdks -Credits to Mitch Ross (https://github.com/mitchross) + Credits to Mitch Ross (https://github.com/mitchross) ## 7.1.5 + * Fix plugin destructor (https://github.com/solid-software/flutter_vlc_player/issues/237) ## 7.1.4 + * Interim release to fix Flutter 3 issues ## 7.1.3 + * Added support for multi-window mode in Android. -Credits to Andy Chentsov (https://github.com/andyduke). + Credits to Andy Chentsov (https://github.com/andyduke). ## 7.1.2 + * Add Hybrid composition support for Android. ## 7.1.1 + * Fixed to work on Android 6-. -Credits to Yury Kostov (https://github.com/kostov). + Credits to Yury Kostov (https://github.com/kostov). ## 7.1.0 + * Upgrade iOS and Android Lib VLC libraries to address performance issues. https://code.videolan.org/videolan/vlc-ios/-/issues/1240 -Credits to Mitch Ross (https://github.com/mitchross) + Credits to Mitch Ross (https://github.com/mitchross) ## 7.0.1 + * Improve formatting * Modify LICENSE to use template so it parsed automatically. ## 7.0.0 -* **Breaking Change**: Refactored enum parameters to follow dart naming convention + +* **Breaking Change**: Refactored enum parameters to follow dart naming convention * Fixed control overlay issue after upgrading to Flutter 2.8 * Fixed Dart analysis warnings * Removed unnecessary initialization delay -Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross), Illia Romanenko (https://github.com/illia-romanenko) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). + Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross), Illia Romanenko (https://github.com/illia-romanenko) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). ## 6.0.5 + * Fix issue with options applying (Android) * Update VLCKit for iOS and Android -Credits to Vladislav Murashko (https://github.com/mrvancor). + Credits to Vladislav Murashko (https://github.com/mrvancor). ## 6.0.4 + * Added VLC http options -Credits to Alireza Setayesh (https://github.com/alr2413). + Credits to Alireza Setayesh (https://github.com/alr2413). ## 6.0.3 + * Added VLC recording feature -Credits to Alireza Setayesh (https://github.com/alr2413). + Credits to Alireza Setayesh (https://github.com/alr2413). ## 6.0.2 + * Fix issue with VLC error event * Added onInit & onRenderer listeners -Credits to Alireza Setayesh (https://github.com/alr2413) and solid-vovabeloded (https://github.com/solid-vovabeloded). + Credits to Alireza Setayesh (https://github.com/alr2413) and solid-vovabeloded (https://github.com/solid-vovabeloded). ## 6.0.1 + * Fix issue with black screen / offstage -Credits to Mitch Ross (https://github.com/mitchross) + Credits to Mitch Ross (https://github.com/mitchross) ## 6.0.0 + * Support Flutter V2 Null Safety -Credits to Mitch Ross (https://github.com/mitchross) - + Credits to Mitch Ross (https://github.com/mitchross) + ## 5.0.5 -* Added VLC Subtitle Styling. + +* Added VLC Subtitle Styling. * Split ios swift code into multiple files for better readability. -Credits to Alireza Setayesh (https://github.com/alr2413) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). + Credits to Alireza Setayesh (https://github.com/alr2413) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). ## 5.0.4 + * Added isSeekable method -Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross). + Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross). ## 5.0.3 -* Fix memory leak. -Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross). + +* Fix memory leak. + Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross). ## 5.0.2 + * Fix homepage link. ## 5.0.1 + * Fix pub.dev image links. ## 5.0.0 + * Entire rewrite of Flutter VLC Player. * Updates to Android v2 plugin. * Adds Platform interface. -* Adds Pigeon for type safe method calls. -Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). +* Adds Pigeon for type safe method calls. + Credits to Alireza Setayesh (https://github.com/alr2413), Mitch Ross (https://github.com/mitchross) and Yurii Prykhodko (https://github.com/solid-yuriiprykhodko). ## 4.0.3 -* Update VLCKit for iOS and Android. Cleanup example Pod file. Clean up example gradle. + +* Update VLCKit for iOS and Android. Cleanup example Pod file. Clean up example gradle. * Removed dispose calls on VlcPlayerController from VlcPlayer. * Fix argument-less functions throwing FlutterMethodNotImplemented. -Credits to Mitch Ross (https://github.com/mitchross). + Credits to Mitch Ross (https://github.com/mitchross). ## 4.0.2 + * Update Cocoapods version for VLCkit on iOS. This fixes issues with iOS 12 and Simulators. -Credits to Mitch Ross (https://github.com/mitchross). + Credits to Mitch Ross (https://github.com/mitchross). ## 4.0.1 + * Improved documentation. ## 4.0.0 + * Improved structure (see example for breaking changes). Example code updated also. * Fix android black screen issue * Support playing local media/subtitle file * Support casting media to external device * Updated changing audio/subtitle method * Support audio/subtitle delay -credits to Alireza Setayesh (https://github.com/alr2413) and Mitch Ross (https://github.com/mitchross) + credits to Alireza Setayesh (https://github.com/alr2413) and Mitch Ross (https://github.com/mitchross) ## 3.0.7 -* Updates MobileVLC to allow for changing of subtitles and adding subtiles . -credits to @rikaweb(https://github.com/rikaweb) and Mitch Ross (https://github.com/mitchross) + +* Updates MobileVLC to allow for changing of subtitles and adding subtiles . + credits to @rikaweb(https://github.com/rikaweb) and Mitch Ross (https://github.com/mitchross) ## 3.0.6 + * Updates MobileVLC to allow for handling of vlc error. -credits to Alireza Setayesh (https://github.com/alr2413) + credits to Alireza Setayesh (https://github.com/alr2413) ## 3.0.5 + * Updates MobileVLC to allow for changing of volume. Example Updated Also. -credits to Mitch Ross (https://github.com/mitchross) + credits to Mitch Ross (https://github.com/mitchross) ## 3.0.4 + * Updates MobileVLC to allow for options as flags and hardware acceleration/ -credits to pharshdev (https://github.com/pharshdev) and Mitch Ross (https://github.com/mitchross) + credits to pharshdev (https://github.com/pharshdev) and Mitch Ross (https://github.com/mitchross) ## 3.0.3 + * Updates MobileVLC to fix a bug on iOS with Seek Time. See (https://github.com/solid-software/flutter_vlc_player/issues/72). Also adds seek bar to example player for demonstration purposes. -credits to Mitch Ross (https://github.com/mitchross) + credits to Mitch Ross (https://github.com/mitchross) ## 3.0.2 + * Updates MobileVLC to fix a bug on iOS with HLS Streaming on VLCKit itself. See (https://code.videolan.org/videolan/VLCKit/-/issues/368), -credits to Mitch Ross (https://github.com/mitchross) + credits to Mitch Ross (https://github.com/mitchross) ## 3.0.1 + * Fix a bug on Android with URL parsing. See (https://github.com/solid-software/flutter_vlc_player/issues/52), -credits to pharshdev (https://github.com/pharshdev) and Mitch Ross (https://github.com/mitchross) + credits to pharshdev (https://github.com/pharshdev) and Mitch Ross (https://github.com/mitchross) ## 3.0.0 -* Migrated to Swift, thanks to Mitch Ross (https://github.com/mitchross), -Amadeu Cavalcante (https://github.com/amadeu01) and pharshdev (https://github.com/pharshdev). + +* Migrated to Swift, thanks to Mitch Ross (https://github.com/mitchross), + Amadeu Cavalcante (https://github.com/amadeu01) and pharshdev (https://github.com/pharshdev). ## 2.0.0 -* Improved structure (see example for braking changes), add aspect ratio and payback controls -support thanks to John Harker (https://github.com/NBTX) and Mitch Ross (https://github.com/mitchross). + +* Improved structure (see example for braking changes), add aspect ratio and payback controls + support thanks to John Harker (https://github.com/NBTX) and Mitch Ross (https://github.com/mitchross). ## 1.0.0 + * Added multiple players support thanks to Kraig Spear (https://github.com/kraigspear) ## 0.0.2 + * Android X support added thanks to Javi Hurtado (https://github.com/ja2375) ## 0.0.1 diff --git a/flutter_vlc_player/android/build.gradle b/flutter_vlc_player/android/build.gradle index 19755c5e..5af41504 100644 --- a/flutter_vlc_player/android/build.gradle +++ b/flutter_vlc_player/android/build.gradle @@ -50,7 +50,7 @@ android { dependencies { testImplementation("org.jetbrains.kotlin:kotlin-test") testImplementation("org.mockito:mockito-core:5.0.0") - implementation 'org.videolan.android:libvlc-all:3.6.0-eap14' + implementation 'org.videolan.android:libvlc-all:3.6.3' implementation 'androidx.appcompat:appcompat:1.7.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.annotation:annotation:1.9.1' diff --git a/flutter_vlc_player/pubspec.yaml b/flutter_vlc_player/pubspec.yaml index 5ef454a3..a534c4f4 100644 --- a/flutter_vlc_player/pubspec.yaml +++ b/flutter_vlc_player/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_vlc_player description: A VLC-powered alternative to Flutter's video_player. Supports multiple players on one screen. -version: 7.4.3 +version: 7.4.4 homepage: https://github.com/solid-software/flutter_vlc_player/ environment: From 8fc33edbf4cdbe97c9462671ca151c1b4970c4df Mon Sep 17 00:00:00 2001 From: Fabian Reyes <57076657+reyesmfabian@users.noreply.github.com> Date: Sat, 30 Aug 2025 11:45:58 -0500 Subject: [PATCH 2/4] Update flutter_vlc_player/CHANGELOG.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- flutter_vlc_player/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_vlc_player/CHANGELOG.md b/flutter_vlc_player/CHANGELOG.md index 8b9bdcbb..b793ac04 100644 --- a/flutter_vlc_player/CHANGELOG.md +++ b/flutter_vlc_player/CHANGELOG.md @@ -178,7 +178,7 @@ * Support casting media to external device * Updated changing audio/subtitle method * Support audio/subtitle delay - credits to Alireza Setayesh (https://github.com/alr2413) and Mitch Ross (https://github.com/mitchross) + Credits to Alireza Setayesh (https://github.com/alr2413) and Mitch Ross (https://github.com/mitchross) ## 3.0.7 From aeecebed5d16240f3657efcda462f7f2d8447758 Mon Sep 17 00:00:00 2001 From: Fabian Reyes <57076657+reyesmfabian@users.noreply.github.com> Date: Sat, 30 Aug 2025 11:46:22 -0500 Subject: [PATCH 3/4] Update flutter_vlc_player/CHANGELOG.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- flutter_vlc_player/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_vlc_player/CHANGELOG.md b/flutter_vlc_player/CHANGELOG.md index b793ac04..7144f1ca 100644 --- a/flutter_vlc_player/CHANGELOG.md +++ b/flutter_vlc_player/CHANGELOG.md @@ -193,7 +193,7 @@ ## 3.0.5 * Updates MobileVLC to allow for changing of volume. Example Updated Also. - credits to Mitch Ross (https://github.com/mitchross) + Credits to Mitch Ross (https://github.com/mitchross) ## 3.0.4 From 28cbb25898d1a3bae40b8f959bc90c78997cbd71 Mon Sep 17 00:00:00 2001 From: Fabian Reyes Date: Mon, 1 Sep 2025 10:22:00 -0500 Subject: [PATCH 4/4] Update pubspec.yaml --- flutter_vlc_player/example/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_vlc_player/example/pubspec.yaml b/flutter_vlc_player/example/pubspec.yaml index e8f5e1b8..e9c95b44 100644 --- a/flutter_vlc_player/example/pubspec.yaml +++ b/flutter_vlc_player/example/pubspec.yaml @@ -20,7 +20,7 @@ dev_dependencies: flutter_test: sdk: flutter - solid_lints: ^0.2.3 + solid_lints: ^0.3.1 # The following section is specific to Flutter. flutter: