0.1.4 • Published 6 years ago

baplive v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

baplive

Info

This library used for live stream (NodeJS)

Add it to your project

Run npm install --save baplive

Usage

const express = require('express');
const app = express();
const server = require('http').Server(app);
const BAPLive = require('baplive');

const io = require('socket.io').listen(server, {pingTimeout: 30000});
BAPLive.default.init('mongodb://localhost:27017/baplivedemo', io);

Config

BAPLive.default.init(
    databaseUrl, //mongodb database url, eg: mongodb://localhost:27017/baplivedemo
    io,          //socket.io instance to communicate with client application
    config,      //
    key,         //secret JWT key for authentication
    streamUrl    //stream url for publishing and providing stream, eg: rtmp://172.16.1.0:1935/live
);

Api Document

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago