I am using audio_service plugin for play audio from live streaming link. It's working fine but now i want to display music visualizer so i want some data from streaming audio like live sample bytes/ amplitude (db) / frequency so i can animated my…
Below code shows how i am using audioplayers without audio service
playFromFile(List textList, seek) async {
for (int i = seek; i < textList.length; i++) {
setState(() {
newSeek = i;
});
itemScrollController.scrollTo(
…
I am new to flutter.
I am using flutter audio_service to play music in background.
I would like to hide control buttons shown in ios lock screen.
I followed to this tutorial by Suragch.
I commented out the code that show control, but it only…
I tried updateQueue([]) to kinda reset the queue (which is not working). And why i want to do this is because i am adding mediaItem on skipToNext like below
mediaItem.add(
MediaItem(
id: lecture.url!,
title: lecture.name!,
artUri:…
How can I connect my listview with audio player page using just_audio and audio_service.In audio service, all data is added to queue and play from first song. I want to start from index of item that is my click.How can I do that?Any example?
I am working on my first Flutter app which implements basic stream functionality. Upon starting, the app loads a stream from source A. The app contains navigation menus to allow the user to play streams from additional sources B, C, D... etc. The…
I have project with audio_service and just_audio. It is working fine on Android. But It is not working on iOS. I found out that it is happening because of the navigation route.
I have attached the example project. Example
If I call the Player screen…
I'm trying to provide my audioHandler on my Player class, but something weird is happening
When I enter the screen, the StreamBuilder will go active just fine but if i pop and navigate to the screen again the stream connect will stay on 'waiting'…
Short issue description
After added audio_service, my application is stuck on splash screen after closed from background and push notification (firebase) is received.
In details
My application is using the following plugins:
firebase_messaging…
I'm using an HLS url to stream live radio. It's set up to send 12 - 10 seconds chunks of audio, so two minutes total. I can listen to position and it will give me values up to about 1:47, then drop to 1:37. I'm assuming that is normal behavior for…
I'm using a maps API in my project, which needs to be initialised within MainActivity, and when it's renamed in the manifest file, the maps will not work.
This is my MainActivity.kt
import androidx.annotation.NonNull
import…
I am using audio_service for background music with just_audio. Everything is working fine.
I want to add heart rating style. When user play a song in playlist, there will be option to press heart icon to add into favourite list. In MediaItem there…
I'm trying to hide the seek bar while playing the live stream. It seems like not adding it to the system actions is all I need to do but it still shows up. At first it's just the bar, then after 10 seconds the start and end times appears and the…
Issue: When the iOS device is on silent, the sound being played from the app is muted.
Upon some digging into the iOS code, I found that out of the 7 "audio session categories" the right one to use for a music app is playback.
Question: How do I set…