Questions tagged [audio-service]

audio_service plugin for Flutter

Use for questions about the audio_service plugin for Flutter

118 questions
0
votes
1 answer

Flutter AudioService get Fetch Url every time

first of all hi, Start Service await AudioService.start( backgroundTaskEntrypoint: _audioPlayerTaskEntrypoint, params: { 'index': globalIndex, 'offline': offline, 'quality': preferredQuality }, …
tolgatasci
  • 152
  • 1
  • 11
0
votes
0 answers

Flutter auido_service bad internet connection

Good afternoon, please help with the audio_service plugin, I don't understand how to make a slider that won't move when audio is loaded with a bad Internet connection StreamBuilder _timeLineSlider(double playbackSlider) { return…
0
votes
1 answer

Using an extended MediaItem in audio_service v18

I'm looking to extend MediaItem so that I can easily add extra metadata with custom classes, which I can't do with the extras property (using extras is also more awkward than if my extra info was just part of the class). I've tried extending…
UnicornsOnLSD
  • 631
  • 6
  • 24
0
votes
1 answer

Playing where a user left off on a mediaItem using just_audio & audio_service

I'm working on an app for podcasts and, one of the features of the app is that it saves the position where a user leaves a podcast to play another or leaves the app entirely. I couldn't find a way to play a saved podcast from its lastPlayed…
0
votes
0 answers

player position is out of sync audio_service flutter

I have an audioplayer application which uses audio_service and just_audio plugins for playback. Everything seems fine but there are 2 issues that I am facing. The player position is out of sync, the duration becomes the position but when I pause…
Jagraj Singh
  • 4,031
  • 4
  • 15
  • 33
0
votes
2 answers

How to handle onTap on audio notif with plugin audio_service flutter?

I want to handle notification on tap when app in foreground or background then redirect to specific page, I use audio_service plugin to handle background audio, can this plugin handle it?
irufano
  • 108
  • 1
  • 11
0
votes
1 answer

Flutter background audio with progressbar

I want to play audio from a stream. I have used Just Audio for this. I want a progress bar like Audio Video Progress bar also play the audio in the background using Audio Service. I have used the examples for all of them and they are working…
user8852790
  • 13
  • 1
  • 5
0
votes
1 answer

audio_service and just_audio design for app that supports queuing and multiple playlists

I'm building a mobile app for Koel using Flutter and the audio_service+just_audio combo. The app basically works this way: User logs in App loads a big bulk of JSON data from the server App parses said data into songs, artists, albums, and…
An Phan
  • 2,557
  • 2
  • 25
  • 27
-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:…
-1
votes
1 answer

Best way to receive background information regarding song titles

Disclaimer: This question is only relevant for the use of the audio-service plugin (version 0.18.1 or higher). What would be the best way to receive background updates regarding song titles? Imagine I listen to a radio station (via an mp3 stream)…
-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
1 2 3 4 5 6 7
8