Skip to content

This project includes an example that streams a simple video to the client using http hls.

Notifications You must be signed in to change notification settings

metinagaoglu/NodeJS-http-hls-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video streaming example with NodeJS / HLS

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.

Technologies

Client: Pure javascript

Server: NodeJS, Express, FFmpeg

Database: MongoDB

Storage: MinIO

NPM Packages

  • @ffmpeg-installer/ffmpeg
  • fluent-ffmpeg
  • Express
  • hls-server

Articles & Resources

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

MongoDB

Multiple-Collections-Versus-Embedded-Documents

MongoDB populates

MongoDB best practices

Screenshots

App Screenshot

About

This project includes an example that streams a simple video to the client using http hls.

Topics

Resources

Stars

Watchers

Forks

Languages