mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Don't check the misleading options.EnableDirectStream for direct stream availability
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
c8f157444c
commit
ce7cbc1f64
@ -466,7 +466,10 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
{
|
{
|
||||||
if (!IsBitrateLimitExceeded(item, options.GetMaxBitrate(true) ?? 0))
|
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);
|
return (directPlayProfile, PlayMethod.DirectStream, transcodeReasons);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user