Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

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 ... _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,
0 Kudos
2 Replies
Level 8

Re: HLS over CloudFront failing


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

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

F. Lynn
0 Kudos
Level 7

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