Using for just background audio #2
Replies: 1 comment
-
Mange to get it working, thanks for the plugin btw |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
I'm trying to get this working for when a user minimizes my Android app it continues playing audio in the background, but normally audio gets played through html element if the user is in the app.
When trying to use this plugin i kept getting a "looper error" or some vague error saying it failed to play or seek etc etc. I've followed all the steps but cant seem to get it working. Also in android studio the service name "us.mediagrid.capacitorjs.plugins.nativeaudio.AudioPlayerService" shows as being invalid (maybe doesnt matter)
Source code can be found in this PR
https://github.com/Materialious/Materialious/pull/579/files#diff-5875fea465dc242a4769effafb7276b8c4f044a057c0d5f7461e5ae62cef9c9eR342
(Ignore the source buffer errors, thats just caused by dashjs)
or when i create a new audio player after destroying the old one
Beta Was this translation helpful? Give feedback.
All reactions