Questions tagged [just-audio]

just_audio is a Flutter plugin for playing audio from files, assets, URLs and byte streams.

Use this tag ask questions about just_audio.

  • State your question clearly.
  • Describe what you have already tried.
  • If you include code snippets, explain the relevant sections as they pertain to your question.

If you haven't done so already, check the relevant API documentation for the problematic methods you are trying to use, or if your question is about feature availability, make sure you first check the supported feature list in the README.

If you are confident that you have found a bug in just_audio itself, or you would like to suggest a new feature that is currently not supported, you can submit a GitHub issue.

289 questions
-1
votes
1 answer

Flutter just audio with audio services , how to handle button events

How to handle next audio button pressed event and previous audio button event on flutter just audio with audio services , my audio files is encrypted , i must decrypt audio file before playing mediaItem.add(MediaItem(id: "1", title:…
-2
votes
2 answers

just_audio/audio_service: Gapless playback doesn't work with FLAC, but only on the first song for the first playthrough

apologies for the less-than-perfect question, but I've exhausted every option and I have no idea what left to do. When playing FLACs from a file on iOS, the first transition from song 1 to 2 has a ~100ms hitch, even when playing from a…
UnicornsOnLSD
  • 631
  • 6
  • 24
-2
votes
1 answer

How to send data to AudioServiceTask class which extends BackgroundAudioTask from UI

Well, I'm stuck on this problem. I have a code for audioservice (audioplayer.dart) which takes a queue to play. I'm getting the queue from playlist.dart in audioplayer.dart using ModalRoute and save in a global variable queue. Then, I initialize the…
Ankit Sangwan
  • 1,138
  • 1
  • 7
  • 20
1 2 3
19
20