Android S is Android 12 BTW, for those who can't remember the letters after they got rid of the deserts
AV1
Community for AV1 video codec
Software decoding video of any kind on a phone is a terrible idea, mostly for battery reasons. AV1 should only be available to hardware decode capable chips unless you’re on a desktop or something like that.
Should YouTube send an AV1 stream to a phone without hardware decoding? No. Should a phone without hardware decoding have the ability to play AV1 streams? Yes.
YouTube as a content deliverer is going to care more about using less bandwidth than the devices battery, so if the phone can play it, you bet your ass YouTube will send it.
No. YouTube cares way, way more about user retention and engagement than it does about bandwidth. They will absolutely send the stream that keeps the device running longer and playing more ads.
YouTube makes its money with ads. The more videos a user can watch the more ads YouTube can deliver to the user. Close to 90% (!!!) of all YouTube traffic comes from mobile devices. Therefore it is in YouTubes own interest to allow its users to watch as many videos as possible.
You can be sure that big CDNs will still provide hw-decodeable streams to mobile devices, despite google now offering a performant software decoder on Android. For the same reason twitch not only introduced AV1, but at the same time HEVC as new codec (since HEVC now has broad hw-decode support among mobile devices, unlike AV1).
Funfact: YouTube’s AV1 streams are often considerably larger than the VP9 variant. They are not opting for bandwidth savings currently.
The integration of software decoding is mainly meant as a fallback. As AV1 will become more widespread you will run into cases where there will only be an AV1 encoded version of a video. Not on big platforms like YouTube, but smaller sites. Think the embedded clip in a Wordpress blog or something like that.
Having said that, dav1d is a very very performant software decoder and its impact on battery life is often negligent for the average user.