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: 

Follow redirects from one HTTPS URL to another

For a component such as roPosterScreen or roVideoScreen:

If an HTTPS URL handed to it results in a redirect, the component seems unable to follow the redirect successfully.
If I feed the component the final URL (after the redirect) it works fine.

Is there a flag or some other behavior I need to set in order to allow components to follow a redirect from one HTTPS URL to another ?
0 Kudos
2 REPLIES 2
RokuKevin
Visitor

Re: Follow redirects from one HTTPS URL to another

We should follow redirects.... However, you may want to make sure that you have not set the content meta data parameter "StreamStickyHttpRedirects". If StreamStickyHttpRedirects is true, the box will process the first redirect to a particular host but will remember the mapping and apply it to all subsequent redirects. This parameter is useful for sites that load balance among different servers in a cluster and may have different encoded files on the different nodes. StreamStickyHttpRedirects enables these sites to work properly.

StreamStickyHttpRedirects is the only parameter that should turn off normal redirect processing. If you think you are having some other redirect misbehavior, please private message me an example of the problem.

--Kevin
0 Kudos

Re: Follow redirects from one HTTPS URL to another

RokuKevin,

you case will work if the redirected url is a http url. My page is redirecting to a HTTPS url.
I have noticed roku box is unable to play any https hosted videos.

Please let me know if there is some explicit configurations to play https urls.

Thanks,
-- Mitesh
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.