just_audio_media_kit
2.1.0, released 2 years ago by an unverified publisher
media_kit bindings for just_audio to support Linux and Windows.
What it does
Provides media_kit backend bindings for just_audio, enabling audio playback capabilities on Linux and Windows platforms (and optionally others).
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to use just_audio on Linux and Windows platforms.
- You want to leverage media_kit's mpv backend for audio playback in a Flutter app.
Skip it when
- You only need mobile or web audio playback which are natively supported by just_audio.
- You require ICY metadata, skip silence, or equalizer features which are currently not documented/supported.
Strengths
- Brings just_audio compatibility to Linux and Windows via media_kit.
- Supports playlists, looping, shuffling, and gapless playback.
- Allows customization of mpv log level, buffer size, and protocols.
Weaknesses
- just_audio's shuffleOrder is currently ignored.
- Certain features like SilenceAudioSource are not supported.
- Requires manual installation setup of native media_kit libs based on usage.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Requires adding platform-specific media_kit libs in pubspec.yaml and calling JustAudioMediaKit.ensureInitialized() before using the AudioPlayer.
JustAudioMediaKit.ensureInitialized();
final player = AudioPlayer();
await player.setUrl('https://example.com/audio.mp3');
player.play();Alternatives
Packages that do the same job and could replace just_audio_media_kit.
- audioplayers
A simpler cross-platform audio playback alternative that also supports multiple platforms.
87Compare
Works with
Packages commonly used together with just_audio_media_kit: ones it builds on, ones built on it, and its own family.
- loggingjust_audio_media_kit depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- universal_platformjust_audio_media_kit depends on itPlatform detection across Flutter, Dart web, and desktop without errors
- just_audio_platform_interfacejust_audio_media_kit depends on itA platform interface for the just_audio plugin, defining the contract for platform-specific implementations.
- media_kitjust_audio_media_kit depends on itCross‑platform video and audio player for Flutter and Dart
- quran_libraryBuilt on just_audio_media_kitAn integrated package for displaying the Holy Qur’an identical to the Medina Quran with the narration of Hafs on the authority of Asim.