update hls stream copy rules

This commit is contained in:
Luke Pulverenti
2016-04-04 01:07:10 -04:00
parent 25125377e5
commit 64795ef35b
10 changed files with 49 additions and 851 deletions

View File

@@ -513,7 +513,14 @@ namespace MediaBrowser.Model.Dlna
{
if (targetAudioChannels.Value >= 5 && (maxTotalBitrate ?? 0) >= 2000000)
{
defaultBitrate = 320000;
if (StringHelper.EqualsIgnoreCase(targetAudioCodec, "ac3"))
{
defaultBitrate = 384000;
}
else
{
defaultBitrate = 320000;
}
}
}