Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (14 loc) · 847 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 847 Bytes

Read the README from the original project

https://github.com/4thline/cling

Mods

  • 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

Usage

  • 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