This application lets you livestream using a server or a specified .m3u8 file. It uses HLS as opposed to RTMP and has an embedded chat functionality for viewers of the stream.
Built using: 🍃 Node.js, 🎥 Video.js and 👨🏿🔧 Nginx.
installation and build instructions
Clone the repository locally.
git clone https://github.com/abenav4/livestreaming-application.git
Importantly, you need to have an active server running (and a corresponding video file) in order to run this application. Alternatively, an existing server on the web can be used as well. A helpful list of free HLS .m3u8 URLs can be found at this link.
To alter the .m3u8 file, please modify the value of src in index.html to your server address.
<source src="https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8" type="application/x-mpegURL">
To install the relevant dependencies:
npm install
To start the application (in /client/):
npm start
To view the app in your browser, go to http://localhost:3000.