It is usually recommended to connect both devices to the same SSID initially because you assume they will be placed on the same subnet and generally do not have other network variables that prevent casting. Once we confirm this setup works, you can then try moving to different SSIDs.