Open
Description
I’m using Media3 version 1.5.1 and encountering an issue with Chromecast.
When casting, I end up with two media control players:
- One from my MediaSession
- One from Chromecast
I can disable the Chromecast-provided media controls using com.google.android.gms.cast.framework.OptionsProvider. However, when I do this, the hardware volume buttons on my phone no longer control the volume of the cast receiver—they only adjust the phone’s volume instead.
Is there a way to:
- Have only one media control player / notification,
- Keep the AudioService running, and
- Still use the hardware volume buttons to adjust the cast receiver’s volume?