update hdhr stream
This commit is contained in:
parent
3966eadfad
commit
5bddb226f6
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user