flavioribeiro / nginx-audio-track-for-hls-module

:sound: Nginx module that generates audio track for HTTP Live Streaming (HLS) streams on the fly.
GNU General Public License v3.0
136 stars 17 forks source link

Pass video chunks docroot as argument to module's instruction #12

Closed flavioribeiro closed 11 years ago

flavioribeiro commented 11 years ago

For example:

    server {
        listen 8080;
        server_name localhost;
        set $docroot /home/videos;

        location /videos/ {
            root $docroot;
        }
        location /audio/ {
            return_audio_track $docroot;
        }
    }