UNPKG

@patrickkfkan/peer-dial

Version:

Nodejs implementation of the Discovery and Launch Protocol DIAL

34 lines (33 loc) 1.02 kB
<?xml version="1.0"?> <root xmlns="urn:schemas-upnp-org:device-1-0"> <specVersion> <major>1</major> <minor>0</minor> </specVersion> <URLBase><%=URLBase%></URLBase> <device> <deviceType>urn:dial-multiscreen-org:device:dial:1</deviceType> <friendlyName><%=friendlyName%></friendlyName> <manufacturer><%=manufacturer%></manufacturer> <modelName><%=modelName%></modelName> <UDN>uuid:<%=uuid%></UDN> <iconList> <icon> <mimetype>image/png</mimetype> <width>144</width> <height>144</height> <depth>32</depth> <url>/img/icon.png</url> </icon> </iconList> <serviceList> <service> <serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType> <serviceId>urn:dial-multiscreen-org:serviceId:dial</serviceId> <controlURL>/ssdp/notfound</controlURL> <eventSubURL>/ssdp/notfound</eventSubURL> <SCPDURL>/ssdp/notfound</SCPDURL> </service> </serviceList> </device> </root>