Title: What are the reasons why volume control wouldn't work for Chromecast?
Tags: android;google-cast
Question: I'm using the MediaRouter library to change the volume of a Chromecast Device. After some time the volume commands don't work anymore.

```mRoute.requestSetVolume(volume);
```

There is a selected route.

Tracing the code I found that it does send the volume change packet.

It also doesn't work from the System UI. Changing from the volume buttons will move the Seek pointer of the volume dialog, but after 3 or 4 seconds it reverts to it's previous position. 

It only does seem to work from the Google Cast app.

Does the Google Cast app use a different protocol or api to change the volume of the Chromecast?

This was tested with Chromecast Audio and Chromecast v2.

Comment: Google Cast App uses Cast SDK to manage that.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:08/12/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<android><google-cast>', 'Title': "What are the reasons why volume control wouldn't work for Chromecast?", 'ViewCount': 229, 'id': 38914507, 'user_AboutMe': '', 'user_AccountId': 32781.0, 'user_DisplayName': 'Auras', 'user_Reputation': 7526.0, 'user_Views': 150.0, 'user_id': 91226.0}}