upnp-device-client
A simple and versatile UPnP device client
This module can query UPnP devices descriptions, service descriptions and call actions on services. It also provides a simple interface to subscribe to UPnP services events.
Install
$ npm install upnp-device-client
Usage
var Client = ; // Instanciate a client with a device description URL (discovered by SSDP)var client = 'http://192.168.1.50:4873/foo.xml'; // Get the device descriptionclient; // Get the device's AVTransport service descriptionclient; // Call GetMediaInfo on the AVTransport serviceclient; client; // client.unsubscribe('AVTransport', listener);
Run with debug traces
$ DEBUG=* node index.js