New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fasp-server

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fasp-server

A server for the Friendly Audio Streaming Protocol.

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

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.

Keywords

audio

FAQs

Package last updated on 07 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts