RepositoryKotlin
OP

open-ani/mediamp

Video / audio player for Compose Multiplatform.

157sao
31fork
15issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: kotlin-multiplatform-mobile

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: cmp

#1 Repository của tuần

4
TINIX TRENDING·Chủ đề: kmp

#4 Repository của tuần

🎬 MediaMP: Trình phát đa phương tiện thống nhất cho Compose Multiplatform

Một API thống nhất để phát video/audio trên mọi nền tảng chỉ bằng một dòng lệnh.

MediaMP là một dự án nguồn mở Kotlin cung cấp trình phát đa phương tiện cho các dự án sử dụng Compose Multiplatform. Thay vì phải tích hợp riêng biệt ExoPlayer trên Android, VLC trên máy tính, AVKit trên iOS và HTMLVideoElement trên trình duyệt, bạn chỉ cần dùng một API thống nhất trong commonMain và để MediaMP lo việc chuyển backend tương ứng với từng nền tảng.

✨ Điểm nổi bật

  • API thống nhất: Dùng một bộ API duy nhất cho mọi nền tảng thông qua commonMain.
  • Đa nền tảng hỗ trợ sẵn: Android (ExoPlayer), JVM trên Windows/macOS/Linux (VLC), iOS (AVKit), trình duyệt wasmJs (HTMLVideoElement).
  • Tính năng mở rộng linh hoạt: Truy cập trực tiếp backend gốc (ExoPlayer, VLC, AVPlayer) khi cần tùy biến nâng cao.
  • Hỗ trợ tốc độ phát: Điều chỉnh tốc độ phát qua player.features[PlaybackSpeed]?.set(2.0f).
  • Gói thư viện -all: Cài đặt nhanh toàn bộ backend chỉ bằng một dependency.
  • Hỗ trợ streaming HLS: Tích hợp sẵn media3-exoplayer-hls để phát file .m3u8.
  • Unit testing với mock player: TestMediampPlayer mô phỏng toàn bộ hành vi thật cho test.
  • MPV backend đang phát triển: Hỗ trợ thêm backend thống nhất từ cộng đồng sắp ra mắt.

💡 Vì sao đáng chú ý

MediaMP khác biệt ở sự tiếp cận "viết một lần, chạy mọi nơi" thực sự — bạn không cần viết logic phát lại cho từng nền tảng. Đặc biệt hữu ích cho các dự án Kotlin Multiplatform muốn chia sẻ code giữa Android, iOS, desktop và web mà không muốn kéo theo nhiều thư viện riêng lẻ. Dù hiện vẫn là bản phát triển (trước v0.1.0), API ổn định khá tốt và đang được cộng đồng theo dõi sát.


#Kotlin #ComposeMultiplatform #ExoPlayer #VLC #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryKotlin
gkd-kit/gkd

基于无障碍,高级选择器,订阅规则的自定义屏幕点击安卓应用 | An Android APP with custom screen tapping based on Accessibility, Advanced Selectors, and Subscription Rules

45.8k
Nov 13, 2026
RepositoryKotlin
komi-store/komi-store

🩵 A free, open-source app store for developers' releases on GitHub, Codeberg & Forgejo — browse, discover, and install apps with one click. Formerly GitHub Store.

23.3k
Dec 1, 2026
RepositoryKotlin
JunkFood02/Seal

🦭 Video/Audio Downloader for Android, based on yt-dlp

31.2k
Nov 25, 2026
RepositoryKotlin
InsertKoinIO/koin

Koin - pragmatic dependency injection for Kotlin & Kotlin Multiplatform. Koin DSL or Koin Annotations (JSR-330), compile safe with the Koin Compiler Plugin.

10.0k
Nov 6, 2026
RepositoryKotlin
MobileNativeFoundation/Store

A library for reading and writing data that lives in network, disk, and memory.

3.4k
Nov 28, 2026
RepositoryKotlin
rickclephas/KMP-NativeCoroutines

Library to use Kotlin Coroutines from Swift code in KMP apps

1.3k
Dec 3, 2026
RepositoryKotlin
hi-manshu/charty

Weave data into enchanting Jetpack Compose graphs—no potions required! 📜🔮

1.3k
Aug 31, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

488.2k
Dec 3, 2026
RepositoryKotlin
lysine-dev/okhttp

A meticulous HTTP client for the JVM, Android, and GraalVM.

47.1k
Nov 27, 2026