PrantaDas / http-streaming

A simple http streaming server available on local network to watch videos on mobile by starting a server in PC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http-streaming

This Node.js server allows streaming of video files from a specified directory on local network 🔥 .

Functionality

The server serves the following functionalities:

  • Video Streaming: Streams various video formats such as AVI, MP4, MPEG, OGV, TS, WebM, 3GP, and more.
  • Content Type Detection: Automatically detects and sets the appropriate content type for each video file.
  • Range Requests: Supports range requests for efficient video streaming.
  • Web Interface: Provides a simple web interface to browse and play available video files.

Usage

  • Just keep the index.mjs file inside the video directory that contains the video and run the file.

Demo

demo

About

A simple http streaming server available on local network to watch videos on mobile by starting a server in PC.

License:MIT License


Languages

Language:JavaScript 100.0%