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) private int GetAudioBitrate(int? maxTotalBitrate, int? targetAudioChannels, string targetAudioCodec, MediaStream audioStream)
{ {
var defaultBitrate = 128000; var defaultBitrate = 128000;
if (StringHelper.EqualsIgnoreCase(targetAudioCodec, "ac3"))
{
defaultBitrate = 192000;
}
if (targetAudioChannels.HasValue) if (targetAudioChannels.HasValue)
{ {

View File

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