mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 20:08:59 +02:00
update hdhr stream
This commit is contained in:
parent
3966eadfad
commit
5bddb226f6
2 changed files with 6 additions and 2 deletions
|
@ -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 a new issue