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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is StreamQualities a required attribute?

I'm working on some channel code and need to know if the StreamQualities attribute is required? We have it set to HD right now but this prevents users who have their Roku connected to an SD display from launching the stream. Our streamurl is pointing to a m3u8 HLS playlist that has an 800 Kbps stream and a 3200 kbps stream defined so the content can be SD or HD depending on bandwidth. I just assume leave this atribute out and will test this out tonight. If anyone has any insight into the matter I would appreciate it. Copy of code is below:

o.Title = ""
o.SubCat = 2
o.ContentQuality = "HD" < ---- Is this required or necessary???
o.Description = ""
o.StreamFormat = "hls"
o.StreamQualities = ["HD"] < ---- Is this required or necessary???
o.StreamBitrates = [0]
o.StreamUrls = CreateObject("roArray", 1, true)
o.minBandwidth = 20
0 Kudos
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.