1.1.0 • Published 3 years ago

light-stream-server v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

light-stream-server

Home media server and file transcoder

Command Line

Installation

npm install -g light-stream-server

Usage

light-stream [command]

Commands:
  light-stream start             Start the media server
  light-stream config            Set the server configuration
  light-stream transcode [path]  Transcode a file to mp4
  light-stream shell             Interactive shell                     [default]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

API

Installation

npm install light-stream-server

Usage

// esm
import lightStream from "light-stream-server";

//commonjs
const lightStream = require("light-stream-server").default;

// Create a server with default config
const server = new lightStream.MediaServer({});

// Start the server
server.start();