Open A-Emile opened 1 year ago
Different headsets have a different way to provide or emulate the next button. For example, on my headset, I need to long press the volume up button. If you're sure your headset maps this to a double click, can you confirm that a double click works in other music or podcast apps on your phone?
Thanks for your response! I can confirm that it works with Dsub, Spotify and Antennapod. I have a headset with one single button and in every app with audio I have to double click to skip to next.
Can you test the playlist example in the audio_service repository directly? just_audio_background is based on audio_service under the hood.
Ok, just tested it. Its the same. When I double click, it just pauses and resumes.
Did you try holding down the volume key?
Yes: Google Assistant.
Hi,How to play music in the background and compatible with the playback completion status. When the audio playback app is switched to the background, the playback progress stops refreshing
I have the exact same issue, in my case it's the bose qc 35 II headset and i want to use it with my pixel 6a Android phone. however it works fine if i compile my flutter app to macos and use the same headset. Hope this helps.
Unfortunately I don't know of any way to change Apple from doing what Apple does for different headset brands that are non-Apple. If anyone wishes to hack the code and manages to discover a workaround, you are very welcome to contribute a pull request.
Thank you for the fast response and please excuse the confusion. I was trying to point out that i can reproduce this bug on Android (but not on MacOS). Since i could not find any info about the OS in the previous posts, i considered this a valuable information that might help you reproduce this bug. Also these bose headphones are more or less common, so this might be an issue many Android users might potetially run into.
But yeah, it probably takes some advanced understanding of the android platform to fix this bug.
Sorry for that misreading, although unfortunately the same applies to Android (just replace Apple by Android in my previous comment). Someone who owns Bose headphones would have to become a contributor if a workaround is at all possible.
Is your feature request related to a problem? Please describe. I can't skip to the next audio by double clicking the play/pause button on my headphones.
Describe the solution you'd like When the user double clicks the play/pause button on headphones the player should skip to the next audio.
Describe alternatives you've considered
Additional context Hope you can add this feature or describe me how I can do it myself. Thanks!