
dreamer2057
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2016
10:33 AM
NEED A HELP - NEW API VIDEO SSL
How to play HLS through SSL in new API.
Also I need keep-alive connection. every request to fragment of HLS should use the same https connection.
I need something like this:
but for Video XML Element:
and
edskitter asked (viewtopic.php?f=34&t=88621&p=508707&hilit=SetCertificatesFile+video#p508707) this question, but nobody didn't answer on it:
Also I need keep-alive connection. every request to fragment of HLS should use the same https connection.
I need something like this:
http.SetCertificatesFile("pkg:/source/cafile.pem")
http.InitClientCertificates()
but for Video XML Element:
<Video
id="videoPlayerObject"
width="1280"
height="720"
translation="[0,0]"
/>
and
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = streamObject.URL
videoContent.title = streamObject.Title
videoContent.streamformat = "hls"
videoObj = m.top.FindNode("videoPlayerObject")
videoObj.content = videoContent
videoObj.control = "play"
edskitter asked (viewtopic.php?f=34&t=88621&p=508707&hilit=SetCertificatesFile+video#p508707) this question, but nobody didn't answer on it:
"edskitter" wrote:
Concerning video, what are Roku's plan for securing video?
In previous version, I was using :
videoContent.Addheader("reserved-id", "xxxx.."
videoContent.SetCertificatesFile("pkg:/certs/xx.crt")
videoContent.InitClientCertificates()
How can we achieve this with the new API?
Sincerely, Sergey Shoshin, software developer.
2 REPLIES 2

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2016
05:20 PM
Re: NEED A HELP - NEW API VIDEO SSL
Hi, please see here:
viewtopic.php?f=34&t=88621&start=120#p523791
Essentially:
- Joel
viewtopic.php?f=34&t=88621&start=120#p523791
Essentially:
videoContent.HttpHeaders=["reserved-id:xxxxx..","user-agent:Roku/DVP-7.1 (xxx.xxxxxxx)"]
videoContent.httpCertificatesFile="pkg:/certs/xx.crt"
- Joel

dreamer2057
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2016
09:02 PM
Re: NEED A HELP - NEW API VIDEO SSL
Thanks, Joel. We all waiting new 7.1 update eagerly)
Sincerely, Sergey Shoshin, software developer.