androidtv-sample-inputs
androidtv-sample-inputs copied to clipboard
Live Channels with no audio (onSetStreamVolume gets volume = 0)
My TvInputService.Session
implementation is working fine, in the sense that the channels provided by my app are listed and play well in the Live Channels app.
However, the public void onSetStreamVolume(float volume)
method callback gets called with volume=0
.
In the sample project you provided, the onSetStreamVolume
seems to get call with 0 while buffering the video but then with value 1.
For my implementation while buffering the volume is set to 0, but the method doesn't get call with value 1.
Do you have an idea about why is the onSetStreamVolume
getting called with 0 instead of 1 once the video is ready to play?
I understand we don't have control over this method.