Skip to content

This is a simple implementation of a video streaming server in Node.js

Notifications You must be signed in to change notification settings

thesmartcoder7/video_streaming_server

Repository files navigation

Video Streaming Server

This is a Node.js application for streaming video content over HTTP using the Express.js framework. It allows you to efficiently serve large video files to clients while supporting partial content requests.

Streaming Server

Prerequisites

Before getting started, ensure you have the following dependencies installed on your system:

Installation

  1. Clone this repository or download the source code.

    git clone https://github.com/thesmartcoder7/video-streaming-server.git
  2. From here, navigate to the project directory

    cd video-streaming-server
  3. Install the npm packages

    npm install

Usage

Place your video file (e.g., Chris-Do.mp4) in the root directory of the project.

Start the server by running the following command:

node server.js

This will start the server, and you will see the message "Listening on port 8000!" in the console, indicating that the server is running.

To access the video stream, open a web browser and navigate to http://localhost:8000/video. You should be able to stream the video.

About

This is a simple implementation of a video streaming server in Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published