Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volume management to CastPlayer #2279

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MGaetan89
Copy link
Contributor

@MGaetan89 MGaetan89 commented Mar 27, 2025

This PR enables volume management in the CastPlayer. In particular, the following methods are now supported:

  • setVolume()
  • getVolume()
  • isDeviceMuted()
  • setDeviceMuted()

I've also updated the fetchDeviceInfo() method so now the max volume information is also provided.


Note: I didn't do anything for the setDeviceVolume(), increaseDeviceVolume() and decreaseDeviceVolume() methods. Let me know if something should be done there too.

Note 2: I don't have access to b/364580007 (the TODO I modified in CastPlayer). Maybe I'm missing some information or it needs to be updated.

@MGaetan89 MGaetan89 force-pushed the cast_volume_management branch from 6f2522e to c65bd97 Compare March 27, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant