wiki:Mod-H264-Streaming-Node-Version2

Downloading and building the H264 Streaming Module for Node.js (version 2)

back


Dependencies

Please read the official Node.js site for more information on downloading and install Node.

Download

Download the source of the H264 Streaming Module for Node.

cd ~
wget http://h264.code-shop.com/download/node_mod_h264_streaming-2.3.0.tar.gz
tar -zxvf node_mod_h264_streaming-2.3.0.tar.gz

Build

Configure and build the module.

node-waf configure
make

Configuration

Edit the configuration file ('settings.json') and add the port and default_host to use:

{
  "port" : 8000,

  "default_host" : {
    "root" : "/var/www/"
  }
}

Start Node:

node server.js

License

This version is free if you agree to the noncommercial license. Please mention its use on your website, in the lines of 'This website uses H264 pseudo video streaming technology by CodeShop'.

Our commercial license is very inexpensive, see the following page to check if you need a commercial license.

Testing

Continue to the testing page to verify your setup.

Last modified 13 years ago Last modified on 03/01/10 21:21:03