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

URL Encryption

Hello,

I have set up the videoplayer example and it works fine. So i tried to stream a public channel the company i work for uses. I changed one of the URL in themind.xml and replaced it with my stream, changed StreamFormat to "hls", but it is not working. When i click on play, it displays the black screen with "retrieving" and goes back to the previous screen, so where you can click on play.
I tried this URL in a browser and i get a .m3u8 file, that is working fine on VLC 2.0, so the URL is not dead or else.
I found in the developer guide that the roku only accepts special formats and encryption for videos, so can it be the cause?
We are using the latest version of Apple’s mediastreamsegmenter on OSX. It uses the following command-line options for encryption:
• -k <keyfile path>
• -encrypt-rotate-iv-mbytes 20
• -K <keyfile url in m3u8 file> <-- This is https
• -n <keyfile name>
• -key-rotation-period 90
• -encrypt-iv sequence

I tried to use http instead of https, I can still play the URL on VLC or browser, but not on the box.

Any idea?
Thank you

Denis
0 Kudos
1 REPLY 1
DLC
Visitor

Re: URL Encryption

Hello again,

Once the encryption has been removed, the streams play well, so there must be something the box cannot decode. Anyone has an idea please?

Thank you.
0 Kudos