Distribute the test video to hls with GStreamer and receive the video with the browser
Please install GStreamer
in advance.
Make sure gst-launch-1.0
is available from the command line.
git clone https://github.com/tomatoaiu/hls-sample.git
cd hls-sample
npm i
npm run build
npm run hls
npm run server
When you start httpserver, it will automatically open http://localhost:8080/dist
in your browser and start receiving video.