arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.41k stars 3.51k forks source link

How to serve video from nested directory #778

Open rajneeshojha opened 8 years ago

rajneeshojha commented 8 years ago

How to use video from nested directory? example.com:182/vod/folder1/folder2/file.mp4

file.mp4 is is deep in 2 folder?

I hope anyone can help me

this is my rtmp section in nginxconf

`rtmp { server { listen 1935;

    chunk_size 4000;

    # video on demand for flv files
    application vod 
    {
        play e:/dl;
    }

    # video on demand for mp4 files
    application vod2 
    {
        play e:/dl;
    }
}

}`

ghost commented 8 years ago

https://github.com/arut/nginx-rtmp-module/wiki/Directives#hls_nested https://github.com/arut/nginx-rtmp-module/wiki/Directives#dash_nested (I think)