Fully operational server and client for streaming and playing.
Server:
- Has a RTMP server to receive streaming (e.g. from OBS studio)
- Converts RTMP to HSL when a RTMP is published
- WebSocket server for counting participants
- Simple room authentication
Client:
- HTML5 VideoJS player (supports Chrome, Firefox, iOS, Android)
- Chat room with usernames
- Password protected
Example:
[ OBS ] ––rtmp://localhost/live/live––> [ RTMP Server ] ––hsl––> [ HTTP server ] ––.m3u8––> [ Videojs HTML5 player ]
-
For web and RTMP server
Download here: https://nodejs.org/en/download/
Clone this repository or download the code.
Open the project folder in terminal and run:
npm install
npm start
Open your browser in localhost:3000
- Username: [Anything]
- Password: room1
You might update the default login passwords and stream key in the file: config.json
Check the windows installation guide here
npm run dev