I have a google-tv application that should play some sort of media (hls)
i am trying to control the volume but thought it is not working
i am using the following code in the oncreate:
setVolumeControlStream(AudioManager.STREAM_MUSIC);
and then when trying to modify the volume: audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volumedown, AudioManager.FLAG_SHOW_UI);
where volumedown is the desired new volumne.
the volumne control is appearing on the screen and moving forward and backward but the volume is not functional.
can anyone tell me what is wrong with that and how could i solve this issue?