Set an Nginx Dynamic Bitrate

Discussion in 'Nginx' started by PaRaDiGm13, Dec 15, 2018.

  1. #1
    I run video site, in my Nginx conf i put this code to limit the bandwidth usage:

    mp4;
    limit_rate 150k;
    limit_rate_after 4m;

    I would like to setup a dynamic bitrate. For example i could set the dynamic bitrate to 1.2x video file bitrate.

    It would provides ability to limit download speed depending on video file bitrate. I would specify a bitrate multiplier ( for example 1.2 )

    Thanks for your help.
     
    PaRaDiGm13, Dec 15, 2018 IP