Is it possible to determine the device capabilities of an AirPlay target? AVRouteDetector exposes the available playback routes to us, however does not seem to provide any context into what the capabilities of each of the devices in the list is.
For context, we work on a streaming app that would like to re-fetch the manifest for playback prior to initiating AirPlay. The reason for this being that the manifest we pull down for the iPhone (sending device) often does not match the capabilities of the TV (receiving device). For example, the iPhone may support HDR whereas the TV does not.
It would be ideal to structure the manifest properly for the AirPlay device, to do so we need more info on the devices capabilities. Things like:
- A list of all supported device capabilities for hardware video decoding
- A list of all supported device capabilities for high dynamic range (HDR) video quality
- All supported device capabilities for sound encoding
- Screen width and height