Also is it possible to set a timeout when starting a video that if it cannot be loaded or it has problems it stops trying and returns to the previous view with an error?
Hi Gades,
There's a couple of things you can try. First, in the simulator settings, you can specify a log file:
CODE
# To redirect console outut to a file please put a fully qualified file path below
# Please note that the current date and time will be appended.
# example: logfile=/tmp/log
logfile=/devwidgets/log
I use this a lot when the simulator crashes. This way, you can open the log file to view the reason of the crash.
Also, I assume you're using the media player (you should be, if you're not). There's an event published by the media player called
onStreamLoadError that you can subscribe to that will allow you to recover when a stream is unavailable. This may help you out. I would suggest trying this approach before putting in any timers.
- Ben