2.0.3 • Published 6 years ago

@motionbank-js/media-server v2.0.3

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

Motion Bank Media Server

npm version Build Status Codacy Badge DepencyCI

Handles basic local media streaming and uploads.

:ghost: A work in progress.

Requirements

To record video into the server's media folder download the media recorder for macOS.

Install

Clone, cd into repo and run:

npm i

Run

You can set these env vars:

# server config
PORT=8888  # server port
SECURE=1   # use https:// (not implemented, needs proxy server)

# streamer conf
STREAMER_ROOT_PATH=""          # root path
STREAMER_ROOT_FOLDER="media/"  # root folder

# media storage
MEDIA_PATH="media"

To start the server run:

npm start

Development

Code linting (ESLint) can be run with:

npm run lint

The server prints debug output for itself and express with:

npm run dev

License

:copyright: 2018 Mainz University of Applied Sciences (Motion Bank Project) – Released under the MIT license

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago