mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
add minrate/maxrate
This commit is contained in:
@@ -193,7 +193,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
|
||||
if (bitrate.HasValue)
|
||||
{
|
||||
args += string.Format(" -b:v {0}", bitrate.Value.ToString(UsCulture));
|
||||
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/3)*2", bitrate.Value.ToString(UsCulture));
|
||||
}
|
||||
|
||||
// Add resolution params, if specified
|
||||
|
||||
Reference in New Issue
Block a user