Node.js program to discover and browse UPnP media servers.
upnp
is a Node.js CLI program to demonstrate how to discover and browse UPnP media servers.
- Node.js >= 14.0.0 is required due to usage of the optional chaining operator (?.) and nullish coalescing operator (??) from ES2020.
- The file
upnp.js
has one external dependency, i.e., xml2js. - To play audio tracks, GStreamer is used. GStreamer is included in all Linux distributions.
$ cd ~
$ git clone https://github.com/wingkeet/upnp.git
$ cd upnp
$ npm install
Type npm start
to run the program. Below is a sample screenshot:
- Steve Leong - Initial work
This project is licensed under the MIT License - see the LICENSE file for details.