Do you have airplay on your phone? If so you may be able to cast to the TV instead of using that. If not, just buy this:
Android 10.0 TV Box 4GB RAM 32GB ROM, Q Plus Android Box H616 Quad-core WiFi 2.4GHz Support 6K H.265 HD 2.0 Ethernet https://a.co/d/9X5WcIw