2.0.2 • Published 4 years ago

fasp-server v2.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

fasp-server

A server for the Friendly Audio Streaming Protocol.

Use fasp-server-cli if you want to run a server from the command line.

Because fasp-server is based on the wonderful mpv, it can play audio from many sources.

npm version ISC-licensed chat with me on Gitter support me on Patreon

Installing

Install mpv. Refer to their installation page for further details.

# macOS
brew install mpv
# Ubuntu or similar
sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt update
sudo apt install mpv

On many Linux systems, you also need the dns_sd.h headers for mDNS.

# Ubuntu or similar
sudo apt install libavahi-compat-libdnssd-dev

Then, install fasp-server.

npm install fasp-server

Usage

const createServer = require('fasp-server')

const server = createServer((err, info) => {
	if (err) {
		console.error(err)
		process.exitCode = 1
	} else {
		console.info('port', info.port)
	}
})

Control the server programmatically using fasp-client, or from the command line using fasp-client-cli.

Contributing

If you have a question or have difficulties using fasp-server, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.2

4 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-alpha.1

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.2.0-alpha.1

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago