I've noticed that some mobile phones are not able to play some video files. Sometimes it's .wav extension, and sometimes some other.
In such cases the app does not crash and no error is generated, but the audio file just silently does not get played.
How to detect such situations? Why is this happening on the first place?
PS. I need to detect this in Java code - programmatically