I am developing a streaming application for Android TV that supports 4K content with AV1 codec. I want to ensure hardware decoding is enabled on devices with Amlogic S928X and MediaTek MT8695 processors.
How can I check for AV1 hardware decoder availability in Android TV apps and fall back to software decoding gracefully?