it's incredibly fucked up that google just yanked the Miracast support out of Android and replaced it with Chromecast
Conversation
Replying to
Both Android Auto and Chromecast are relevant, and neither of them has an implementation in the Android Open Source Project itself.
VLC has an open source implementation of Chromecast that's usable on Android, but it's not a full implementation since it can't mirror the screen.
AOSP still has infrastructure for Wi-Fi display with a build option to enable it. (config_enableWifiDisplay). The device drivers need to provide an implementation and the device vendor needs to enable it. Qualcomm still provides an implementation but Google stopped shipping it.
1
Miracast is gone on Pixels but not Android devices in general.
I think the larger issue is putting so much functionality in Play Services. Chromecast support should be provided by AOSP, as should U2F/FIDO2 and assorted other features without a hard dependency on Google services.

