mod: media_kit引入

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

View File

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

View File

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