How to determine the maximum video resolution and / or bit rate that the device can play (Android)?

I am working on an application that should play several MP4 videos. We transcoded these videos into several resolutions, trying to provide a better playback experience for our users. For streaming, we also provide HLS for devices that support it, but we also provide users with the ability to download videos for offline playback.

My question is: for a specific Android device, do I have a way to programmatically determine what maximum resolution and / or bitrate it can handle?

+4
source share

All Articles