update hdhr stream

This commit is contained in:
Luke Pulverenti 2016-04-12 13:37:58 -04:00
parent 3966eadfad
commit 5bddb226f6
2 changed files with 6 additions and 2 deletions

View File

@ -509,6 +509,10 @@ namespace MediaBrowser.Model.Dlna
private int GetAudioBitrate(int? maxTotalBitrate, int? targetAudioChannels, string targetAudioCodec, MediaStream audioStream)
{
var defaultBitrate = 128000;
if (StringHelper.EqualsIgnoreCase(targetAudioCodec, "ac3"))
{
defaultBitrate = 192000;
}
if (targetAudioChannels.HasValue)
{

View File

@ -354,8 +354,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.HdHomerun
BufferMs = 0,
Container = "ts",
Id = profile,
SupportsDirectPlay = true,
SupportsDirectStream = true,
SupportsDirectPlay = false,
SupportsDirectStream = false,
SupportsTranscoding = true
};