The Android platform has always been a bit special as it’s still maturing and this change shows that. Some newer devices that can do UHD or 4K playback really well lack the power to also create the Kodi interface at that resolution, and this creates kind of a problem. The end result was that the we either had to downscale the video to a lower resolution to make sure the interface was snappy, or show full size video but the device might not be able handle the high resolution interface. This change allows us to create the Kodi user-interface in a different resolution than the resolution we do video playback, so what happens now is that the interface is displayed at 1080p, and the video will actually be output at the 4K resolution if the device supports it as we let the chip-set do the work instead of the processor.
Important to mention is that this doesn’t apply to AMLogic devices with proper permissions as these will still use amcodec. Any other Android device that is not able to do “android surface rendering” has not implemented the standard Android MediaCodec API in the proper way. Sadly we have to take this route because the Android eco-system has become too big of a maze to support and we will only implement what we feel is the way forward, this means that we will only follow the official Android platform methods, and we will no longer implement any hacks or workarounds. If the device you have is not compatible, then we strongly advise that you ask your device manufacturer to properly implement these functions in the device’s firmware, it may be harsh but we as Team Kodi are not responsible for incomplete firmware created by these device manufacturers.
Removal of libstagefright
With the Android platform becoming more mature regarding audio/video with the MediaCodec implementation it was time to say goodbye to libstagefright. The old implementation for audio and video is called libstagefright and has been in the media several times this year, this method has become very outdated and the implementation wasn’t the best, as such we have removed the support for this and will fully focus on MediaCodec. This means that for certain devices this will be a step back for Kodi usage, or perhaps Kodi might even become unusable if they have firmware which doesn’t make proper use MediaCodec. We’re sorry that this is happening but keeping support for libstagefright is hurting further progress, stability and puts a too large support burden on the our Android developer, so we hope you will all understand this decision.
Comment