Skip to content

Commit

Permalink
v0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 2, 2024
1 parent 680c252 commit 9f5086d
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 35 deletions.
114 changes: 85 additions & 29 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,59 @@
"type": "shell",
"options": {
"env":{
"NINJA_STATUS": "[%f/%t %e %r %s]"
"NINJA_STATUS": "[%f/%t %e %r %s]",
}
},
"tasks": [
{
"label": "Run Debug",
//"type": "shell",
"windows":{
"args": ["run", "-d", "windows"]
"windows": {
"args": [
"run",
"-d",
"windows"
]
},
"linux":{
"args": ["run", "-d", "linux"]
"linux": {
"args": [
"run",
"-d",
"linux"
]
},
"osx":{
"args": ["run", "-d", "macos", "--verbose"]
"osx": {
"args": [
"run",
"-d",
"macos",
"--verbose"
]
},
"options": {
"cwd": "${workspaceRoot}/example",
"env": {
//"MDK_CLOG": "1",
//"MDK_LOG_STATUS": 1,
}
"env": {}
},
"problemMatcher": []
},
{
"label": "Build",
"windows":{
"args": ["build", "windows"]
"windows": {
"args": [
"build",
"windows"
]
},
"linux":{
"args": ["build", "linux"]
"linux": {
"args": [
"build",
"linux"
]
},
"osx":{
"args": ["build", "macos"]
"osx": {
"args": [
"build",
"macos",
]
},
"options": {
"cwd": "${workspaceRoot}/example"
Expand All @@ -50,55 +68,93 @@
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$gcc", "$msCompile"]
"problemMatcher": [
"$gcc",
"$msCompile"
]
},
{
"label": "Build iOS",
"args": ["build", "ios", "--release", "--no-codesign",
"--verbose",
"args": [
"build",
"ios",
"--release",
"--no-codesign",
"--verbose"
],
"options": {
"cwd": "${workspaceRoot}/example",
"env": {
"MDK_CLOG": 1,
"MDK_LOG_STATUS": 1,
"MDK_LOG_STATUS": 1
}
},
"problemMatcher": []
},
{
"label": "Run Debug Android",
"args": ["run", "-d",
"args": [
"run",
"-d",
"23013RK75C",
"--verbose",
"--enable-impeller"
],
"options": {
"cwd": "${workspaceRoot}/example",
"env": {
"MDK_CLOG": 1,
"MDK_LOG_STATUS": 1,
"MDK_LOG_STATUS": 1
}
},
"problemMatcher": []
},
{
"label": "Build APK",
"args": ["build", "apk",
"--verbose",
"args": [
"build",
"apk",
"--release",
"--verbose"
],
"options": {
"cwd": "${workspaceRoot}/example",
"cwd": "${workspaceRoot}/example"
},
"problemMatcher": []
},
{
"label": "Build Web",
"args": [
"build",
"web",
"-v"
],
"options": {
"cwd": "${workspaceRoot}/example"
},
"problemMatcher": []
},
{
"label": "Build WASM",
"args": [
"build",
"web",
"--wasm",
"-v"
],
"options": {
"cwd": "${workspaceRoot}/example"
},
"problemMatcher": []
},
{
"label": "FFIGen",
"label": "Gen FFI",
"command": "dart",
"args": [
"run",
"ffigen",
"--config",
"config.yaml",
"config.yaml"
],
"problemMatcher": []
}
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# 0.18.0
## 0.19.0

* registerWith() can register official backends if a platform is not specified in platforms
* check seekable range for live streams
* live stream duration.inMicroseconds is int max
* fix wasm build
* fix log level

## 0.18.0

* support Impeller for android. may require flutter 3.19+ to build

Expand Down
4 changes: 2 additions & 2 deletions darwin/fvp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Pod::Spec.new do |s|
s.name = 'fvp'
s.version = '0.17.0'
s.summary = 'libmdk based video player Flutter plugin project.'
s.summary = 'libmdk based Flutter video player plugin'
s.description = <<-DESC
Flutter video player plugin.
DESC
Expand All @@ -23,7 +23,7 @@ Flutter video player plugin.
s.osx.dependency 'FlutterMacOS'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.11'
s.dependency 'mdk', '~> 0.27.0'
s.dependency 'mdk', '~> 0.28.0'

# s.platform = :osx, '10.11'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
Expand Down
9 changes: 6 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: fvp
description: video_player plugin and APIs for your own players. Support all desktop/mobile platforms. Hardware decoders, optimal renders. Supports most formats via FFmpeg
version: 0.18.0
description: video_player plugin and backend APIs. Support all desktop/mobile platforms with hardware decoders, optimal renders. Supports most formats via FFmpeg
version: 0.19.0
homepage: https://github.com/wang-bin/fvp
topics:
- video
- player
- video-player
- audio-player
- cross-platform
- videoplayer

environment:
sdk: '>=3.0.0 <4.0.0'
Expand All @@ -21,6 +21,9 @@ dependencies:
path: ^1.8.0
plugin_platform_interface: ^2.0.0
video_player_platform_interface: ^6.2.0
# implicitly included by video_player_platform_interface, but dart analyze reports errors
video_player_android: any
video_player_avfoundation: any

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 9f5086d

Please sign in to comment.