Combined Node.js based streamer and client service for live-streaming our lovable Momo ❤️ Based on koa.js
and lit-html
.
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://...'
$ 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.
$ npm run dev