arut / nginx-rtmp-module

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

How to have adaptive bitrate for mpeg dash (mpd) from rtmp for live streaming. #1234

Open AhmedHassan07 opened 6 years ago

AhmedHassan07 commented 6 years ago

How can i stream a mpeg dash adaptive bitrate video from a rtmp live stream i am using this code. With this i am having a single bitrate video stream, i want it to be adaptive.

rtmp {
    server {
        listen 1935;

   application dash {
        live on;
        allow publish all;
        allow play all;

        dash on;
        dash_path /Users/ahmedhassan/Documents/videos/dash/;
        dash_fragment 2s;
        dash_nested on;

    }
}

}

chinchilla-forest commented 6 years ago

hi ,I am also very interested in this issue. If you know how to config it, please let me know.