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: 
jshah
Visitor

HLS over CloudFront failing

Hi everyone,
We are trying to stream HLS over Amazon's CloudFront using signed CloudFront URLs. The Roku, however, simply fails on playback of the CloudFront-signed versions.

Here are two short m3u8 files:
http://mediafly-test-hls.s3.amazonaws.c ... _TWiT.m3u8
http://content.mediafly.com/proxy/media ... _TWiT.m3u8

Both actually point to the same .ts files. The latter is routed through CloudFront, however.

The first file plays successfully.
The second starts to play and immediately ends with error -3: "An unexpected problem (but not server timeout or HTTP error) has been detected."

Incidentally, both play just fine on an iPad.

Does anyone have suggestions on how to adjust or improve our URLs or playback mechanism to address these issues?

Tested on Roku versoin 2.9 build 1553.

Thanks in advance,
Jason
0 Kudos
2 REPLIES 2
fredlynn
Visitor

Re: HLS over CloudFront failing

Hi,

I have the exact same problem. Has anyone been able to solve this?

Thanks in advance for any help. It would be much appreciated.

Regards,
F. Lynn
0 Kudos
adamkaz
Channel Surfer

Re: HLS over CloudFront failing

We ran into the same issue. HTTPS streams would play fine from S3, but same files didn't work through cloudfront. I know its been >3 years, but I figured I would post my findings in case someone else comes across this. It appears that Roku firmware versions < 7.0 do not support Server Name Identification (SNI) for https. Once we enabled a setting to use dedicated IPs through cloudfrount (extra monthly fee), we were able to successfully play the videos.
0 Kudos