Comments (8)
This plugin doesn't have anything to do with the audio stream anyway, so there is nothing to do here.
from audio_service.
This plugin doesn't have anything to do with the audio stream anyway, so there is nothing to do here.
My intention is to have a live audio stream. There is no way of changing the data for the notfication unless it uses a playlist. This is a plucgin issue and if you re-read my cause its to be able to dynamically change the information shown on the notification.
If this is not possible, can you let me know how to disable the notification so I can implement my own notification for the use I want.
Cheers
from audio_service.
For context I have an api that has the current playing song and I want to display this in a notification where the user can see the current song and be able to control the play/pause of the audio.
from audio_service.
There is still nothing to do here.
The audio playback is a completely separate thing from the notification, and this plugin only provides APIs to manage the latter. It's entirely up to your own app logic how you coordinate the two, and this plugin does not know or care how you do that. The plugin will merely update what's on the notification to whatever you want whenever you want, which surely suffices, and which is why there is nothing to do here.
from audio_service.
Your plugin creates the notification so it is still related to this plugin unless just_audio creates the notification however from my reserch this is not the case. I understand what you are pointing out however I do no think you are understanding where I am comming from.
from audio_service.
If you understand what I am pointing out, is there any reason to keep this feature request open? Just because your app uses this plugin, and does other stuff, does not mean that the other stuff is the responsibility of this plugin. This plugin is only responsible for displaying the notification when you want with the data you want, and I can't imagine your feature request could need anything more than that.
If you disagree, please edit your feature request to clarify how the ability to update the notification to whatever you want, whenever you want is not sufficient for your use case. I'm baffled. Or if you understand exactly what I have pointed out, then please close the feature request.
from audio_service.
Just to prevent this going on for longer than it should, I'll go ahead and close the issue. audio_service clearly doesn't suffer from the limitation you describe. This plugin provides the API to update the notification with whatever data you want whenever you want, and any limitation preventing you from doing that must be external to this plugin and hence should not be raised here. There is literally nothing to be done here.
from audio_service.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.
from audio_service.
Related Issues (20)
- Crash at launch - Fatal Exception: android.app.RemoteServiceException$BadForegroundServiceNotificationException HOT 11
- Add updateTime parameter to PlaybackState.copyWith
- Asking for notification permission on runtime sometimes leads to crashes if using this library HOT 8
- Is it possible to support custom notification parameters? HOT 3
- Random exception Connection aborted HOT 2
- Android 14/SDK 34 HOT 3
- [just_audio_background] Can't release background audio service at IOS
- Cover art saved as a file does not get displayed on Android Auto HOT 8
- Targeting S+ (version 10000 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
- java.lang.IllegalArgumentException - context shouldn't be null HOT 4
- Adding an option in AudioServiceConfig to switch to lower priority state on AudioProcessingState.completed HOT 3
- `playbackState.add(...)` doesn't update the notification HOT 2
- Shouldn't shuffle the queue when inserting a new queueItem to a specific index HOT 3
- Trouble closing an audio session HOT 3
- Trouble closing audio session HOT 5
- Null pointer exception with audioHandlerInterface inside sendNotificationClicked() HOT 9
- Seekbar is always displayed even without MediaAction.seek HOT 10
- audio_service >=0.17.0-nullsafety.0 depends on js ^0.6.3, please upgrade to 0.7 HOT 4
- Play button on A14 notification not working when targeting API 29 HOT 1
- Deadlock with android_content_provider HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio_service.