https://github.com/izumi-kun/hls-playlist-proxy
HLS playlists proxy with counting viewers
https://github.com/izumi-kun/hls-playlist-proxy
hls monitoring node streaming websocket
Last synced: about 2 months ago
JSON representation
HLS playlists proxy with counting viewers
- Host: GitHub
- URL: https://github.com/izumi-kun/hls-playlist-proxy
- Owner: Izumi-kun
- License: mit
- Created: 2018-01-23T18:37:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T17:06:18.000Z (over 8 years ago)
- Last Synced: 2025-10-04T22:45:55.392Z (9 months ago)
- Topics: hls, monitoring, node, streaming, websocket
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HLS playlist proxy
==================
Main goal is realtime counting viewers of HLS (HTTP Live Streaming).
How it works
------------
1. The script download original playlist (`.m3u8` file).
2. All relative links in playlist converts in absolute.
3. Client download modified playlist.
4. The script collect info about all clients and calculate viewers count.
Usage
-----
- `npm i`.
- Copy `config-example.json` to `config.json` and edit.
- `npm start`.
Viewers count getting by client via WebSocket. See `example/index.html` for more info.