Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
tifroz
Level 7

Troubleshoot http issues with Video roSGNode?

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?
0 Kudos
2 Replies
Highlighted
tifroz
Level 7

Re: Troubleshoot http issues with Video roSGNode?

bump! it's been 18 months since I first posted - I recently scanned the forum for relevant updates, but...nothing Smiley Sad
0 Kudos
norcaljohnny
Level 7

Re: Troubleshoot http issues with Video roSGNode?

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
0 Kudos