nginx-rtmp-server authenticator + hls.js player - https://tv.icynet.eu
migrations | ||
src | ||
templates | ||
.gitignore | ||
app.js | ||
config.example.toml | ||
LICENSE | ||
nginx.example.conf | ||
package-lock.json | ||
package.json | ||
README.md | ||
webpack.config.js |
Icy TV
This application provides means of authentication when using the nginx-rtmp-module NGINX module via a configured OAuth2 provider. It also includes a player (powered by hls.js) that provides viewer counts using WebSockets.
Setup
Using this application requires an instance of NGINX. See [nginx.example.conf] for example configuration. Another thing you need is a running instance of Redis in order to store sessions. And finally, you need an OAuth2 provider.
- Clone this repository
npm install
- Copy the example configuration
config.example.toml
toconfig.toml
and edit it npm run build
to build the front-end scriptsnpm start
to run in production (requires an HTTPS proxy!),npm run serve
to run in development mode
Developing
Run the front-end watch task using npm run watch
.
License
The MIT License