"merthin" wrote:
Basically, if you look for failed request events from a roVideoPlayer and roDeviceInfoEvent
you can tell when is a good idea to exit an inform the user that there is something
preventing playback to continue.
The isRequestFailed video player event is available on legacy devices. If your code is already using that, it's not clear what more you're looking for. On isRequestFailed, you could try requesting a URL to see if it times out or fails as an indication of network issues.
You could also potentially listen for "http.error" events from the roSystemLog to see if you're getting a lot of timeouts.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)