If your iPhone or PS5 is not compatible with AirPlay, you may need to update the software on your device to the latest version. Additionally, ensure that both devices are connected to the same Wi-Fi network.