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: 
Highlighted
Level 7

SSL on HLS(m3u8) not playing in roku

Hello,
I'm having a problem playing ssl hls file in roku
i have added the SetCertificatesFile but its not working in roku

i can play http not https

can someone help me out 
0 Kudos
3 Replies
Highlighted
Level 7

Re: SSL on HLS(m3u8) not playing in roku

anyone ?
0 Kudos
Level 7

Re: SSL on HLS(m3u8) not playing in roku

Here is my source code

  port = CreateObject("roMessagePort")
  screen = CreateObject("roVideoScreen")
  screen.SetMessagePort(port)
  screen.SetPositionNotificationPeriod(1)
  screen.SetCertificatesFile("common:/certs/ca-bundle.crt")
  screen.SetCertificatesDepth(2)
  screen.InitClientCertificates()
  screen.SetContent(content)
  while true
  screen.Show()
0 Kudos
Highlighted
Level 7

Re: SSL on HLS(m3u8) not playing in roku

Remove the calls to SetCertificatesDepth() and InitClientCertificates().

And what's that while true statement doing before your call to screen.show()?

If it still doesn't work, then print out the roVideoScreenEvent values. You could also use roSystemLog events to get more information, and check your server logs.
https://github.com/belltown/
0 Kudos