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
'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