I need to define if a device can play a video file. So far, I've registered
[an error handler][1] which receives a number of errors which might be
tolerable - I mean even though they occur player still feels fine and keeps
on working.
However, I need somehow to distinguish between errors that are unimportant
and those that are related to MediaPlayer's inability to play certain video
formats. Or there's another way of defining whether video can be played ?
Maybe there's a functionality to extract all supportable types of videos
and compare them to a video type that is being played ?
Thanks.
[1]:
http://developer.android.com/reference/android/media/MediaPlayer.html...