useForNotification - handle that only one at a time #20
Replies: 3 comments 3 replies
-
I see your pain point. Are you trying do a playlist or you just have multiple features playing audio one after another? Are you using the |
Beta Was this translation helpful? Give feedback.
-
Some of our audio is AI generated, so takes e.g. 10 seconds to generate (at point of initialize), so we cant do that preload at the same time we are playing something else..... beginning to think all our audio should be background, and we just initialize the usefornotificaiton with e.g 1 second of silence, and never actually play or destroy it..... No, we are destroying and restarting everytime, mostly because it kind of "just works" ;) |
Beta Was this translation helpful? Give feedback.
-
I would love to have a functionality like this! I'm working on a podcast app and I'm trying to preload episodes before a user decides to play them. With the current setup of the audio plugin it's impossible for me to preload an audio stream. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Could you handle useForNotification state, and if one is set (and one is already set) that the prior (existing) one is destroyed first
We have multiple features vying to play audio and managing state at our end is ok, but also a bit of overhead could quite like not to have....
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions