Format of video url

536 Views Asked by At

I have a video url (either progressive download or streaming) and I want to determine its format to check if it complies with Android's supported media formats. How can I check this? Is it enough if it works on the emulator?

(as far as I understand testing it on a device is not a warranty since some Android devices might support formats that others do not)

1

There are 1 best solutions below

0
On

Testing it on device is not a warranty as you said. I agree. Documentation itself suggests us to test on as many different devices as possible, and this is something we can only learn through experience.

As of now I haven't come across a method in MediaPlayer/VideoView which could extract meta information of Videos.

can you have a server side script which tells you the video's details?