https://github.com/4thline/cling
-
Addition of a ApplicationURLHeader as clone of LocationHeader
-
Modification of RemoteDevice to store the Application URL information
-
Modification of RetrieveRemoteDescriptors to get the info from the header and put it in the RemoteDevice
-
Modification of UpnpHeader to take ApplicationURLHeader into account in the parsing
-
In a RegistryListener, listen for failed discoveries by implementing remoteDeviceDiscoveryFailed
-
In this method, test device.getType().toString().equals("urn:dial-multiscreen-org:device:dial:1")
-
If it is the case, then device.getDIALApplicationURL() gives you the application URL provided as a HTTP header during the SSDP dialog