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: 
joetesta
Level 11

Re: Roku won't play video from Secure Server?

I'm having a similar problem trying to switch to streaming over https. The video link works fine on roku using http, but https returns in debug:
Unspecified or invalid track path/url.

I've added to my roVideoScreen instance the following:
screen.SetCertificatesFile("common:/certs/ca-bundle.crt")


The https link works outside of roku. I wonder if it could be the fact I'm testing this on a non-standard port? The non-standard port works fine for https connections getting XMLs and whatnot, but I don't see any other reason why this won't work for streaming mp4.. any ideas?
aspiring
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: Roku won't play video from Secure Server?

are you calling screen.InitClientCertificates() ?

- Joel
0 Kudos
belltown
Level 9

Re: Roku won't play video from Secure Server?

"RokuJoel" wrote:
are you calling screen.InitClientCertificates() ?

- Joel

Isn't that only needed when the Roku client certificate is required to perform TLS Client Authentication with the server, i.e. the server needs to authenticate that the request is coming from a Roku device? Normally, servers (CDNs, etc.) don't care where the request is coming from, and it's only necessary to perform authentication of the server, which is what SetCertificatesFile() is for.
https://github.com/belltown/
0 Kudos