aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dto/MediaSourceInfo.cs
diff options
context:
space:
mode:
authorgnattu <gnattu@users.noreply.github.com>2024-09-08 11:08:54 +0800
committerGitHub <noreply@github.com>2024-09-07 21:08:54 -0600
commitb4f71859d939c5c0fa0a155f712d25cba0c20b8f (patch)
tree53dbe8574abc918c8348682024bab0815619a37f /MediaBrowser.Model/Dto/MediaSourceInfo.cs
parent84b20afe1fc6cb86d9ff8694b3e4524461dea588 (diff)
Make Live TV compatibility profiles customizable (#12529)
Diffstat (limited to 'MediaBrowser.Model/Dto/MediaSourceInfo.cs')
-rw-r--r--MediaBrowser.Model/Dto/MediaSourceInfo.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Dto/MediaSourceInfo.cs b/MediaBrowser.Model/Dto/MediaSourceInfo.cs
index 1c6037325..eff2e09da 100644
--- a/MediaBrowser.Model/Dto/MediaSourceInfo.cs
+++ b/MediaBrowser.Model/Dto/MediaSourceInfo.cs
@@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.Text.Json.Serialization;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Dlna;
@@ -24,6 +25,7 @@ namespace MediaBrowser.Model.Dto
SupportsDirectStream = true;
SupportsDirectPlay = true;
SupportsProbing = true;
+ UseMostCompatibleTranscodingProfile = false;
}
public MediaProtocol Protocol { get; set; }
@@ -70,6 +72,9 @@ namespace MediaBrowser.Model.Dto
public bool IsInfiniteStream { get; set; }
+ [DefaultValue(false)]
+ public bool UseMostCompatibleTranscodingProfile { get; set; }
+
public bool RequiresOpening { get; set; }
public string OpenToken { get; set; }
@@ -98,6 +103,8 @@ namespace MediaBrowser.Model.Dto
public int? Bitrate { get; set; }
+ public int? FallbackMaxStreamingBitrate { get; set; }
+
public TransportStreamTimestamp? Timestamp { get; set; }
public Dictionary<string, string> RequiredHttpHeaders { get; set; }