Your Digital Media Has Never Looked So Good

 
tifroz
Topic Author
Posts: 29
Joined: Sun May 29, 2016 4:08 pm

Troubleshoot http issues with Video roSGNode?

Sat Apr 22, 2017 9:51 pm

I am migrating from roVideoPlayerto scene graph. With roVideoPlayer I could easily figure out http issues by monitoring roSystemLog's "http.error" and "http.connect" events (see https://sdkdocs.roku.com/display/sdkdoc/roSystemLog)

roSystemLog does not seem to work with the video roSGNode: I am only getting "bandwidth.minute" events from roSystemLog, no http-related events whatsoever.

Does anyone have any tips for getting some insight into the http activity of a video roSGNode?
 
tifroz
Topic Author
Posts: 29
Joined: Sun May 29, 2016 4:08 pm

Re: Troubleshoot http issues with Video roSGNode?

Mon Nov 26, 2018 2:24 pm

bump! it's been 18 months since I first posted - I recently scanned the forum for relevant updates, but...nothing :(
 
norcaljohnny
Posts: 99
Joined: Thu Apr 13, 2017 11:00 pm

Re: Troubleshoot http issues with Video roSGNode?

Thu Apr 18, 2019 8:48 pm

Assuming you create an observer for the video player like so..

m.video.observeField("state","controlvideoplay")


Then you can have a function like so


sub controlvideoplay()
  if (m.video.state = "error")
    print errorCode
    print errorMsg
    print errorStr
  end if
end sub

Who is online

Users browsing this forum: No registered users and 4 guests