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
2019-10-24 20:52:38 +03:00
migrations New feature: featured links 2019-10-23 13:43:31 +03:00
src A few improvements 2019-10-24 10:34:29 +03:00
templates Websockets viewer count 2019-10-23 16:43:57 +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
app.js Better URL validation 2019-10-24 11:27:02 +03:00
config.example.toml New feature: featured links 2019-10-23 13:43:31 +03:00
LICENSE Add license and readme 2019-10-24 20:52:38 +03:00
nginx.example.conf Websockets viewer count 2019-10-23 16:43:57 +03:00
package-lock.json Websockets viewer count 2019-10-23 16:43:57 +03:00
package.json add package.json scripts 2019-10-24 10:57:09 +03:00
README.md Add license and readme 2019-10-24 20:52:38 +03:00
webpack.config.js Stop loading the css using javascript, idiot 2019-04-16 21:17:17 +03:00

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