mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update FileStreamResponseHelpers.cs
This commit is contained in:
parent
d3e8834e80
commit
25e965b85c
@ -126,11 +126,6 @@ namespace Jellyfin.Api.Helpers
|
||||
await new ProgressiveFileCopier(outputPath, job, transcodingJobHelper, CancellationToken.None)
|
||||
.WriteToAsync(httpContext.Response.Body, CancellationToken.None).ConfigureAwait(false);
|
||||
return new FileStreamResult(httpContext.Response.Body, contentType);
|
||||
|
||||
// var memoryStream = new MemoryStream();
|
||||
// await new ProgressiveFileCopier(outputPath, job, transcodingJobHelper, CancellationToken.None).WriteToAsync(memoryStream, CancellationToken.None).ConfigureAwait(false);
|
||||
// memoryStream.Position = 0;
|
||||
// return new FileStreamResult(memoryStream, contentType);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user