1.0.11 • Published 6 years ago

webcaster v1.0.11

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

webcaster

Install

1) NPM npm install webcaster --save 2) YARN yarn add webcaster 3) 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

1.0.11

6 years ago

1.0.9

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago