ソースを参照

Enable HTTP Range Processing

David 4 年 前
コミット
4836f14aff
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

+ 1 - 1
Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs

@@ -72,7 +72,7 @@ namespace Jellyfin.Api.Helpers
                 return new NoContentResult();
             }
 
-            return new PhysicalFileResult(path, contentType);
+            return new PhysicalFileResult(path, contentType) { EnableRangeProcessing = true };
         }
 
         /// <summary>