Skip to content

Commit

Permalink
v0.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Aug 31, 2024
1 parent 8fb6fd9 commit 6e8b74d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.26.0

* improve android impeller, support surface changes. requires flutter 3.24+. for 3.22, impeller is not perfect
* fix no responding in prepare() using backend api
* fix hang in updateTexture()
* ensure texture size is available when initialized

## 0.25.0

* replace exceptions with error events
Expand All @@ -22,7 +29,7 @@
## 0.22.0

* windows: fix d3d11 sync issue
* android: min api level is 21, target sdk 34
* android: min api level is 21, target sdk 34. this requires flutter > 3.19

## 0.21.0

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Prebuilt example can be download from artifacts of [github actions](https://gith
project is create with `flutter create -t plugin --platforms=linux,macos,windows,android,ios -i objc -a java fvp`

## Features
- All platforms: Windows x64(including win7) and arm64, Linux x64 and arm64, macOS, iOS, Android.
- All platforms: Windows x64(including win7) and arm64, Linux x64 and arm64, macOS, iOS, Android(requires flutter > 3.19 because of minSdk 21).
- You can choose official implementation or this plugin's
- Optimal render api: d3d11 for windows, metal for macOS/iOS, OpenGL for Linux and Android(Impeller support)
- Hardware decoders are enabled by default
Expand Down Expand Up @@ -48,6 +48,14 @@ fvp.registerWith(options: {

[The document](https://pub.dev/documentation/fvp/latest/fvp/registerWith.html) lists all options for `registerWith()`

### Error Handling
Errors are usually produced when loading a media.
```dart
_controller.addListener(() {
if (_controller.value.hasError && !_controller.value.isCompleted) {
...
```

### Backend Player API

```dart
Expand Down
2 changes: 1 addition & 1 deletion darwin/fvp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'fvp'
s.version = '0.25.0'
s.version = '0.26.0'
s.summary = 'libmdk based Flutter video player plugin'
s.description = <<-DESC
Flutter video player plugin.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fvp
description: video_player plugin and backend APIs. Support all desktop/mobile platforms with hardware decoders, optimal renders. Supports most formats via FFmpeg
version: 0.25.0
version: 0.26.0
homepage: https://github.com/wang-bin/fvp
topics:
- video
Expand Down
2 changes: 1 addition & 1 deletion windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.14)

# Project-level configuration.
set(PROJECT_NAME "fvp")
project(${PROJECT_NAME} VERSION 0.25.0
project(${PROJECT_NAME} VERSION 0.26.0
DESCRIPTION "Flutter video_player plugin via libmdk")
set(PROJECT_VERSION_TWEAK 0)
set(CMAKE_CXX_STANDARD 20)
Expand Down

0 comments on commit 6e8b74d

Please sign in to comment.