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

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 3
tintumonkb
Visitor

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

anyone ?
0 Kudos
tintumonkb
Visitor

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
belltown
Roku Guru

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.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.