Monday, 19 August 2013

Set MediaPlayer's timeout?

Set MediaPlayer's timeout?

Is there a way to set the timeout value of the MediaPlayer to so it
doesn't cause an error so soon if the video doesn't play?
The problem is that my videos are on a CDN. If the video hasn't been
cached on the CDN yet, then it may take a little bit to load the video
while the 1st person access the video. On other platforms (i.e. HTML5's
video tag) this is not a problem - the video plays just fine.
My theory is that the MediaPlayer times out from attempting to play the
video.
If this is true, then is it possible I can change when the time out
happens? If I cannot set this value, is there another proven method that
might work?
p.s. My app is built for the Google TV platform.

No comments:

Post a Comment