Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
p2premote
Visitor

Is there a API to control sound volume?

I know there is no button on the roku remote to adjust the sound volume, but is there a api for that to do it programmatically?

If not, I am curious why it is not possible.

Thanks.
0 Kudos
2 REPLIES 2
EnTerr
Roku Guru

Re: Is there a API to control sound volume?

"p2premote" wrote:
I know there is no button on the roku remote to adjust the sound volume, but is there a api for that to do it programmatically?
If not, I am curious why it is not possible.
Thanks.


No. And there is not need for it - DVD/BD players, cable boxes and such in general also don't have volume control; the volume control on the "universal" remote some come with is a "punch-through" to the TV/amplifier box you have to program
0 Kudos
destruk
Streaming Star

Re: Is there a API to control sound volume?

I know this probably isn't what you're asking - but you can set a volume for the roAudioResource from 0-100.
As for volume of video or mp3 files, there isn't a way currently to do that without re-encoding the source file.
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.