dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2012
08:02 AM
roVideoPlayer and SetContentList and SSL problems [solved?]
Seeing an issue where roVideoPlayer is not even attempting to call server with an https url? Looking on access log there is no call from video player. When I try calling the server with roUrlTransfer I see attempts in access log on server. Below is the code more or less with relevant pieces
Other places on the forums told me about this command "SetCertificatesDepth" . I tried and it worked, but can't find any documentation on it? What does it do? Why doesn't any documentation have any information?
'initial set up
player = CreateObject("roVideoPlayer")
player.SetMessagePort(port)
player.SetLoop(false)
player.SetPositionNotificationPeriod(5)
player.SetDestinationRect(layout.full) 'fullscreen
clip = CreateObject("roAssociativeArray")
clip.StreamBitrates = [0]
clip.Quality = true
clip.ClipDuration = -5
clip.StreamQualities = ["HD"]
clip.Title = "[ Title goes here ]"
clip.StreamFormat = "hls"
clip.SwitchingStrategy = "full-adaptation"
'get video url from server
player.ClearContent()
player.SetCertificatesFile("pkg:/cert/xyz.pem")
player.AddHeader("X-Roku-Reserved-Dev-Id", "")
player.InitClientCertificates()
clip.StreamQualities = [qualities]
clip.StreamUrls = [urls]
player.SetContentList([ m.clip ])
player.Play()
Other places on the forums told me about this command "SetCertificatesDepth" . I tried and it worked, but can't find any documentation on it? What does it do? Why doesn't any documentation have any information?
SetCertificatesDepth(3)
- Daniel
http://dbulli.com
http://dbulli.com
3 REPLIES 3

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2012
08:57 AM
Re: roVideoPlayer and SetContentList and SSL problems
I'm not sure if any of this is related to your problem, but I notice that neither "urls" nor "qualities" is defined. Maybe you didn't quote the code that sets those. Also, "ClipDuration" is not a member of content metadata.
--Mark
--Mark
dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2012
08:58 AM
Re: roVideoPlayer and SetContentList and SSL problems [solve
Other places on the forums told me about this command "SetCertificatesDepth" . I tried and it worked, but can't find any documentation on it?
SetCertificatesDepth(3)
- Daniel
http://dbulli.com
http://dbulli.com
dbulli
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2012
08:59 AM
Re: roVideoPlayer and SetContentList and SSL problems
"RokuMarkn" wrote:
I'm not sure if any of this is related to your problem, but I notice that neither "urls" nor "qualities" is defined. Maybe you didn't quote the code that sets those. Also, "ClipDuration" is not a member of content metadata.
--Mark
Sorry .. i just took out the code that i thought was relevant. Everything gets set.
- Daniel
http://dbulli.com
http://dbulli.com