0.1.1 • Published 6 years ago

fasp-audio-receiver v0.1.1

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

fasp-audio-receiver

A receiver for the Friendly Audio Streaming Protocol.

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

Installing

npm install fasp-audio-receiver

Usage

const createReceiver = require('fasp-audio-receiver')

const receiver = createReceiver((err, info) => {
	if (err) console.error(err)
	else console.info(info.name, 'listening on port', info.port)
})

receiver.on('command', (cmd, args) => {
	console.log('command', cmd, args)
})
receiver.emit('status', {foo: 'bar'})

Contributing

If you have a question or have difficulties using fasp-audio-receiver, 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.