mod: media_kit引入

This commit is contained in:
guozhigq
2024-03-19 23:23:14 +08:00
parent 3a66c8c03d
commit 2dbef3fee2
2 changed files with 12 additions and 27 deletions

View File

@ -858,8 +858,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: media_kit path: media_kit
ref: main ref: HEAD
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" resolved-ref: "77a130b1d7ce733b47d2133b57563716090450d0"
url: "https://github.com/media-kit/media-kit.git" url: "https://github.com/media-kit/media-kit.git"
source: git source: git
version: "1.1.10+1" version: "1.1.10+1"
@ -899,8 +899,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "libs/universal/media_kit_libs_video" path: "libs/universal/media_kit_libs_video"
ref: main ref: HEAD
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" resolved-ref: "77a130b1d7ce733b47d2133b57563716090450d0"
url: "https://github.com/media-kit/media-kit.git" url: "https://github.com/media-kit/media-kit.git"
source: git source: git
version: "1.0.4" version: "1.0.4"
@ -924,8 +924,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: media_kit_video path: media_kit_video
ref: main ref: HEAD
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" resolved-ref: "77a130b1d7ce733b47d2133b57563716090450d0"
url: "https://github.com/media-kit/media-kit.git" url: "https://github.com/media-kit/media-kit.git"
source: git source: git
version: "1.2.4" version: "1.2.4"

View File

@ -85,21 +85,9 @@ dependencies:
encrypt: ^5.0.3 encrypt: ^5.0.3
# 视频播放器 # 视频播放器
media_kit: media_kit: ^1.1.10 # Primary package.
git: media_kit_video: ^1.2.4 # For video rendering.
url: https://github.com/media-kit/media-kit.git media_kit_libs_video: ^1.0.4
ref: main
path: ./media_kit
media_kit_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./media_kit_video
media_kit_libs_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./libs/universal/media_kit_libs_video
# 媒体通知 # 媒体通知
audio_service: ^0.18.12 audio_service: ^0.18.12
@ -177,18 +165,15 @@ dependency_overrides:
media_kit: media_kit:
git: git:
url: https://github.com/media-kit/media-kit.git url: https://github.com/media-kit/media-kit.git
ref: main path: media_kit
path: ./media_kit
media_kit_video: media_kit_video:
git: git:
url: https://github.com/media-kit/media-kit.git url: https://github.com/media-kit/media-kit.git
ref: main path: media_kit_video
path: ./media_kit_video
media_kit_libs_video: media_kit_libs_video:
git: git:
url: https://github.com/media-kit/media-kit.git url: https://github.com/media-kit/media-kit.git
ref: main path: libs/universal/media_kit_libs_video
path: ./libs/universal/media_kit_libs_video
flutter_launcher_icons: flutter_launcher_icons:
android: true android: true