/nodejs-streaming

Video streaming using nodejs

Primary LanguageJavaScript

nodejs-streaming

Video streaming using nodejs

Requirements

  1. Node
  2. Express

Setup

  1. Clone the repo:
$ git clone https://github.com/brunovalenga/nodejs-straming.git
$ cd nodejs-streaming
  1. Install dependencies (npm v3+):

$ npm install


3. **Create directory:**

```shell
$ mkdir movies (Linux, OXS and Windows)
  1. Edit index.html:

Edit the file index.html in directory of the project and edit the attribute src

<video src="/movies/1.mp4" controls width="640" height="480"></video>
  1. Running:
$ node app.js