Przeglądaj źródła

Merge pull request #4055 from Ullmie02/seeking

Enable HTTP Range Processing (Fix seeking)
Bond-009 4 lat temu
rodzic
commit
4500452674

+ 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>