If I connect my laptop to my phone's cell network through hotspot, are they considered on the same network? I'm trying to cast video from my phone to my laptop but they need to be on the same network. I don't have wifi where I am so I'm using my phone but i'm not entirely sure if that will work.
Essentially yes. The scenario is that you are using are are using two network adapters where one has access to internet (through cellular ISP) and the other creates an ad-hoc wireless access point that shares the data i.e the traffic is being through the device to other secondary devices.
In this way you can still access local (intranet) resources as well as external (internet) through your ISP because you have two gateways:
So its like you are connected to same wi-fi network.
However this configuration is not supported for casting.
Instead, its possible and much easier if you have two devices (e.g 2nd smartphone, tablet or PC):
- Device 1 (either a mobile phone, or separate mobile hotspot) to act as your Wi-Fi hotspot.
- Device 2 (with supported operating system) tethered to Device 1, and to cast your content.
You can get more details by following this discussion: Casting from mobile hotspot phone
Note: You may need to update your Google Play Services to get the best experience