How Does My PC Wirelessly Broadcast to My Smart TV
Solution 1:
Screen casting uses what is known as WiFi Direct.
Essentially both devices will connect to their own private WiFi network with one of them acting as a "host" for the other to send video to.
Wi-Fi Direct allows devices to connect directly to each other, without the need for a Wi-Fi access point (AP). It simply requires the push of a button or the entry of a PIN. Wi-Fi Direct allows source and display devices to discover one another and provides the underlying device-to-device connectivity for Miracast. Miracast builds upon Wi-Fi Direct with mechanisms to negotiate video capabilities, setup content protection (if needed), stream content, and maintain the video session.
WiFi Direct specifically avoids your router and, as the name suggests, connects the two devices directly together.