Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
/ cling Public archive
forked from 4thline/cling

UPnP/DLNA library for Java and Android, with a modification to discover DIAL devices

Notifications You must be signed in to change notification settings

COLTRAM/cling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UPnP/DLNA library for Java and Android, with a modification to discover DIAL devices

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • CSS 0.3%