Playback depends on the file formats supported by the player. Therefore, if you use decoders built into the Android platform (default Android decoders), then this is a more specific version of the Android OS. Thus, you can check the supported multimedia formats depending on the OS version of the device and allow launch if it is supported.
As an application developer, you can use any media codec that is available on any Android device, including the Android platform and those that are device-specific. However, it is best to use media coding profiles, which are agnostic devices.
source
share