icecast-source
Simple abstraction to connect and stream data to Icecast servers as an source client.
Installation
npm install icecast-source
Usage
Pass your port, password and mountpojnt to the module, recieve a callback when authorized.
var source = port: 9000 pass: 'yourPass' mount: '/superCoolStuff' { // if err, auth has failed iferr console; // if not, stream your data to icecast whiletrue source; };
Options
You can set the following options in the config:
- port (required)
- pass (required)
- mount (required)
- name
- description
- url
- genre
- bitrate
- private
- public
- audio-info