KirovBvulgaru / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

stopApplication() resets volume to max volume #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

If an app modify volume with either CastApi.setVolume() or 
RemoteMediaPlayer.setStreamVolume(), on app exit (either with stopApplication() 
or automatic) volume is unconditionnaly resetted to max volume (1.0) when going 
back to the home screen.

Maybe this word as intended, but this is weird as volume should be a global 
setting of the device and not of a particular app.

As a user (and developer), I would  expect that changing volume in one app is 
persistent.

Original issue reported on code.google.com by pujos.mi...@gmail.com on 18 Feb 2014 at 7:06

GoogleCodeExporter commented 8 years ago
That is by design. Here is the rationale behind that: You watch TV late at 
night and lower your volume on CC very low.
Your wife comes in, casts something and raises the volume of the TV, because 
she doesn't know you lowered the volume through CC.
Your daughter comes in the next day, and switches input, and at this point, 
your wife had to raise the volume to 100% and you're now bursting people's 
eardrums. 

There is no one solution that can work for all cases so we had to make a 
decision and the current solution is what we found to be the better one. This 
particular decision will be revisited later on this year to see if it needs to 
be modified/enhanced.

Original comment by anad...@google.com on 20 Feb 2014 at 7:12