nginx-rtmp-server authenticator + hls.js player - https://tv.icynet.eu
This repository has been archived on 2024-05-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Evert Prants fb3d54205e
Maintenance commit.
2020-05-28 22:06:09 +03:00
migrations New feature: featured links 2019-10-23 13:43:31 +03:00
src Maintenance commit. 2020-05-28 22:06:09 +03:00
templates Maintenance commit. 2020-05-28 22:06:09 +03:00
.gitignore Port the application to node.js. I am not confident using Python so I went with the better option for me 2019-10-23 11:24:20 +03:00
LICENSE Add license and readme 2019-10-24 20:52:38 +03:00
README.md Add license and readme 2019-10-24 20:52:38 +03:00
app.js Maintenance commit. 2020-05-28 22:06:09 +03:00
config.example.toml Use passport authentication to standardize authentication in this application 2019-10-25 15:23:11 +03:00
nginx.example.conf Websockets viewer count 2019-10-23 16:43:57 +03:00
package-lock.json Maintenance commit. 2020-05-28 22:06:09 +03:00
package.json Maintenance commit. 2020-05-28 22:06:09 +03:00
webpack.config.js Maintenance commit. 2020-05-28 22:06:09 +03:00

README.md

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.

  1. Clone this repository
  2. npm install
  3. Copy the example configuration config.example.toml to config.toml and edit it
  4. npm run build to build the front-end scripts
  5. npm 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