jofr / capacitor-media-session

Capacitor plugin for media notifications and platform media keys as well as background audio playback.
GNU General Public License v3.0
36 stars 25 forks source link

Play needs to be clicked multiple times to be invoked on android through bluetooth headset #25

Open simonoskamagdalena opened 7 months ago

simonoskamagdalena commented 7 months ago

Hi, I have a problem on android when I use bluetooth headset play control. I need to click multiple times in order for play action to be invoked, and sometimes it is not invoked even after 10+ clicks. On IOS there is no problem. Could you please have a look into it?

Christilut commented 6 months ago

I have the same problem using a bluetooth headset when I pause my music, then use previoustrack or nexttrack. After that, pressing pause or play will not result in an incoming action event. The next press does work normally. Since no event is incoming for that press, I don't think it is my code.