This project includes an example that streams a simple video to the client using http hls.
HTTP Live Streaming(HLS) is HTTP-based streaming protocol.
HLS uses .m3u8 and .ts files.
.m3u8: A file that has information list of segmented videos
.ts: A file for each segmented video
Advantages of HLS
Because HLS based on HTTP, You can save more cost than other way.
You can utilize advantages of HTTP like caching.
Client: Pure javascript
Server: NodeJS, Express, FFmpeg
Database: MongoDB
Storage: MinIO
NPM Packages
- @ffmpeg-installer/ffmpeg
- fluent-ffmpeg
- Express
- hls-server
Fluent ffmpeg Fluent ffmpeg-API for node.js Build Status
hls-server Simple HTTP middleware for serving HTTP Live Streaming (HLS) compatible media streams.
express Fast, unopinionated, minimalist web framework for node.
HTTP Live Streaming HTTP Live Streaming