pinussilvestrus / momo-cam

Combined Node.js based streamer and client service for live-streaming our lovable Momo ❤️
MIT License
1 stars 0 forks source link

momo-cam

Combined Node.js based streamer and client service for live-streaming our lovable Momo ❤️ Based on koa.js and lit-html.

Installation

Install all the stuff

$ npm i

Set environment variables in local .env file to set correct strategy

VID_MEDIA_URL = 'http://...'
IMAGE_MEDIA_URL = 'http://...'

Usage

$ npm run build
$ npm run start

Open http://localhost:4000 to visit starting page.

Open http://localhost:4000/streamer.html to start streaming WebSocket and http://localhost:4000/client.html to view stream.

Development

$ npm run dev