Forum Discussion
Is there a reason why you're using SetContentList and not just SetContent?
For a video node, do you have an observer on the "state" of the video node? It should fire on any error.
- Helaman2 years agoChannel Surfer
SetContentList is the function mentioned in the documentation, although I have tried SetContent. In terms of observing the state of the Video player, I can observe that it is buffering, playing, paused, etc. my problem is that I can't detect if its getting a 404 when trying to buffer a non-existent video.
Thank you for help btw
- renojim2 years agoCommunity Streaming Expert
I don't know why your "state" observer isn't working. I tried setting the URL to a nonexistent video on my server and my server returned a 404, my "state" observer fired, GetData() returned "error". and my video node "errorCode" was set to 404.
Edit: "errorCode" is set to -1. "errorStr" shows the 404.
- Helaman2 years agoChannel Surfer
Is that for a `roVideoPlayer` object or a `roSGNode` that represents a Video SceneGraph element? I have a "state" observer on the `roSGNode` for my video element, but it doesn't fire with errors, it just fires for states like "buffering", "paused", "playing", etc.