Skip to content

Hide notification when chromecasting and retain volume control on cast-receiver #2089

Open
@FilipKastrupGP

Description

@FilipKastrupGP

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions