mirror of https://github.com/jellyfin/jellyfin.git
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)
|
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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue