MPEG-DASH Support

This is a module for nginx-rtmp that adds support for MPEG-DASH.  While it is still in development, you can test it using the DASH Industry Forum's javacsript player, dash.js: http://dashif.org/reference/players/javascript/0.2.5/index.html
For best compatibility, use baseline profile H.264 and a short (< 3s) GOP.

If you have a specific player that you need changes to support, please file an issue on github

git clone git@github.com:stephenbasile/nginx-rtmp-module.git
cd nginx-rtmp-module
git checkout dash
<build as usual per nginx-rtmp documentation>

Config additions to enable DASH:

RTMP:

            dash on;
            dash_fragment 1s;
            dash_playlist_length 10s;
            dash_path /dash;
            dash_cleanup off;

HTTP:

            location /dash {
                    types {
                            application/dash+xml mpd;
                            video/mp4            m4v;
                            audio/mp4            m4a;
                    }
                    alias /dash;
            }