Doesn't the Media Capabilities API [1] provide a way to determine if a codec is "power efficient" (presumably meaning hardware supported)? So then you can switch to another codec if AV1 isn't hardware-supported.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Media_Capab...