Roku Developer Program

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

HLS and SSL issues

I'm having trouble streaming using HLS encoded with SSL. Our HLS SSL streams seem to work everywhere except on Roku.

Here's the relevant code:
  port = CreateObject("roMessagePort")
screen = CreateObject("roVideoScreen")

screen.SetMessagePort(port)
screen.SetPositionNotificationPeriod(1)
screen.SetCertificatesFile("common:/certs/ca-bundle.crt")
screen.SetCertificatesDepth(8)
screen.InitClientCertificates()


I end up getting:
Roku internal error: 1
Error message: The format is not supported or the media is corrupt.

We are using a pretty standard certificate (RapidSSL/GeoTrust). Is that not included in ca-bundle.crt? I tried using a few of the root pem files from GeoTrust, but that didn't seem to change anything.
0 Kudos
1 REPLY 1\
jnixon
Level 7

Re: HLS and SSL issues

Some additional information.

I have no problem communicating with our API which is under SSL using the same certificate and the built in ca-bundle.crt.
A stream that should work, but doesn't is https://54-241-9-147.fandor.com:443/new ... ylist.m3u8
0 Kudos