bufsize change

This commit is contained in:
Luke Pulverenti 2013-09-02 19:16:46 -04:00
parent c3fa40715c
commit e8b4ff5346
3 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ namespace MediaBrowser.Api.Playback.Hls
builder.AppendLine(playlistUrl);
// Low bitrate stream
//builder.AppendLine("#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=64000");
//builder.AppendLine("#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000");
//playlistUrl = "hls/" + Path.GetFileName(firstPlaylist).Replace(".m3u8", "-low/stream.m3u8");
//builder.AppendLine(playlistUrl);

View File

@ -188,7 +188,7 @@ namespace MediaBrowser.Api.Playback.Hls
if (bitrate.HasValue)
{
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/11)", bitrate.Value.ToString(UsCulture));
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/10)", bitrate.Value.ToString(UsCulture));
}
// Add resolution params, if specified

View File

@ -285,7 +285,7 @@ namespace MediaBrowser.Api.Playback.Progressive
if (bitrate.HasValue)
{
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/11)", bitrate.Value.ToString(UsCulture));
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/10)", bitrate.Value.ToString(UsCulture));
}
return args.Trim();