Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

HLS playlists proxy with counting viewers

Topics

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages