webcaster
v1.0.11
Published
A wrapper to handle using phoner
Downloads
4
Readme
webcaster
Install
- NPM
npm install webcaster --save
- YARN
yarn add webcaster
- GIT
git clone https://github.com/d-pollard/webcaster.git
Usage
// Initiate webcast
var webcaster = require('webcaster');
// A list of available status codes you can listen to for updates on stream health
var { STREAM_STATUS, SESSION_STATUS } = webcaster.getStatusCodes();
// Configure the settings for the stream
Webcaster.setSettings(
'videoDivId',
'phoner WSS link',
'RTMP url',
'RTMP channel',
'A callback function for updates'
);
// Launch a livestream
Webcaster.beginLiveStream();
// End a livesstream
Webcaster.stopLiveStream();
Contributors
- Derek Pollard [email protected], [email protected]