A stable WiFi connection is essential. Both your Samsung device and your Tv should be connected to the same WiFi network to enable the AllShare Cast service.