Site Tools


software:ssdpd:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
software:ssdpd:index [2022/02/04 18:40]
– removed - external edit (Unknown date) 127.0.0.1
software:ssdpd:index [2022/02/04 18:40]
– ↷ Page moved from en:software:ssdpd:index to software:ssdpd:index root
Line 1: Line 1:
 +====== SSDP announcer for UPnP/DLNA ======
 +- a program for announcing the network UPnP/DLNA devices.\\
 +Announcements are sent using IPv4 and IPv6 on the special multicast address.\\
 +
 +SSDP announcer allows you announce on your LAN any UPnP / DLNA server located on the Internet, another network segment.\\
 +
 +UPnP - based on the SSDP announcements for automatic detection of available devices on the local network, and HTTP to communicate with devices it has found.\\
 +In HTTP, the data is transmitted using XML-SOAP.\\
 +
 +Archive with SSDP announcer contains implementation UPnP / DLNA server on nginx and PHP.\\
 +Nginx takes on work with http, php script processes the XML-SOAP requests from client devices.\\
 +The script allows browsing through the file system and access to the media which is to be found.\\
 +
 +Thanks SSDP announcer can write your own UPnP / DLNA server on any scripting language, which is able to work nginx.\\
 +
 +
 +===== Supported OS =====
 +  * FreeBSD
 +  * Linux
 +
 +
 +===== How it works =====
 +UPnP clients (eg DLNA for android, VLC under Linux etc), listen to the network multicast announcements and periodically send queries themselves to receive announcements.\\
 +Announcements represent a IPv4 / IPv6 multicast UDP packets with HTTP format for content. Requests are sent directly to the announcer.\\
 +Announcement contains:
 +  * UUID - unique device ID;
 +  * type devices advertised;
 +  * services offered device;
 +  * URL for by HTTP-GET XML file detailing the devices and links to XML files, a description of its services.\\
 +
 +SSDPd requires specify on which interfaces to work out what URL announce and XML file describing the device.\\
 +In this work SSDPd ends. Everything else happens communication client to the server via HTTP.\\
 +
 +Client after receiving announcements if he was interested in the type of UPnP devices on the HTTP-GET takes the XML file from the announcement of the URL, parses it, then picks up the XML files describing services.\\
 +XML files are static, attached examples in the distribution.\\
 +
 +After parsing the XML files the client accesses the services by URL specified in XML files using HTTP, using the methods: POST, SUBSCRIBE, UNSUBSCRIBE.\\
 +In a simple case (for a minimum of the functional) processing HTTP request methods SUBSCRIBE, UNSUBSCRIBE amount to granting the 200 + a pair of additional headers this can easily cope nginx.\\
 +
 +==== Multicast addresses ====
 +  * 239.255.255.250:1900
 +  * [FF02::C]:1900 - link local scope
 +  * [FF05::C]:1900 - site local scope
 +
 +
 +===== Setup =====
 +wget http://www.netlab.linkpc.net/download/software/ssdpd/ssdpd-1.03.tar.gz\\
 +tar -xf ssdpd-1.03.tar.gz\\
 +cd ./ssdpd-1.03\\
 +./configure\\
 +make install\\
 +If configure return some errors run: autoreconf -fvi\\
 +
 +In the directory:\\
 +/rc.d - rc.d script for FreeBSD.\\
 +/upnp/ - put/make a symlink in wwwroot web server.\\
 +/upnp/descr - contains xml and wsdl files to describe the UPnP MediaServer device version 3 and several services for him.\\
 +/ssdpd.conf - example config file.\\
 +
 +
 +===== Settings =====
 +[[en:software:ssdpd:config|Settings description]]
 +
 +
 +===== Download =====
 +License: BSD\\
 +[[http://www.netlab.linkpc.net/download/software/ssdpd/ssdpd-1.01.tar.gz|ssdpd-1.01.tar.gz]]\\
 +[[http://www.netlab.linkpc.net/download/software/ssdpd/doc/|UPnP docs]]\\
 +
 +<html><iframe frameborder="0" allowtransparency="true" scrolling="no" src="https://money.yandex.ru/embed/shop.xml?uid=410011898378762&amp;writer=seller&amp;targets=%D0%91%D0%BB%D0%B0%D0%B3%D0%BE%D0%B4%D0%B0%D1%80%D0%BD%D0%BE%D1%81%D1%82%D1%8C+%D0%B7%D0%B0+SSDPd&amp;default-sum=&amp;button-text=03&amp;comment=on&amp;hint=" width="450" height="221"></iframe></html>
 +
 +{{:bitcoin.png |Donate via Bitcoin}} Donations may also be sent via Bitcoin to the following address: [[bitcoin>19SJ1CE8bDqUc8xgd1eNE5bNkjBKG3Gu38]]
 +
 +
 +
 +===== Support =====
 +Forum: [[http://www.netlab.linkpc.net/forum/index.php?topic=898.0]]
 +
 +
  
software/ssdpd/index.txt · Last modified: 2022/02/05 04:29 by root