diff options
| author | gnattu <gnattuoc@me.com> | 2024-07-18 01:49:55 +0800 |
|---|---|---|
| committer | gnattu <gnattuoc@me.com> | 2024-07-18 01:49:55 +0800 |
| commit | ce7cbc1f64e2b443369ffb8be3f715062c24910f (patch) | |
| tree | 1e0b6f3aa6b2f6e4b03c2323c6ffa70ce6d7d051 /MediaBrowser.Model/Dlna | |
| parent | c8f157444c85c9fb79514c2b0a5e35dc2d083921 (diff) | |
Don't check the misleading options.EnableDirectStream for direct stream availability
Signed-off-by: gnattu <gnattuoc@me.com>
Diffstat (limited to 'MediaBrowser.Model/Dlna')
| -rw-r--r-- | MediaBrowser.Model/Dlna/StreamBuilder.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.cs index 410a44776..d9520b2e5 100644 --- a/MediaBrowser.Model/Dlna/StreamBuilder.cs +++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs @@ -466,7 +466,10 @@ namespace MediaBrowser.Model.Dlna { if (!IsBitrateLimitExceeded(item, options.GetMaxBitrate(true) ?? 0)) { - if (options.EnableDirectStream) + // Note: as of 10.10 codebase, the options.EnableDirectStream is always false due to + // "direct-stream http streaming is currently broken" + // Don't check that option for audio as we always assume that is supported + if (transcodeReasons == TranscodeReason.ContainerNotSupported) { return (directPlayProfile, PlayMethod.DirectStream, transcodeReasons); } |
