소스 검색

Merge pull request #4055 from Ullmie02/seeking

Enable HTTP Range Processing (Fix seeking)
Bond-009 4 년 전
부모
커밋
4500452674
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>