mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-11 08:10:34 +02:00
increase static stream buffer size
This commit is contained in:
parent
1d9c163f5f
commit
e4dfbb6f55
|
@ -64,9 +64,9 @@ namespace MediaBrowser.Api.Playback
|
||||||
{
|
{
|
||||||
using (_msg)
|
using (_msg)
|
||||||
{
|
{
|
||||||
using (var input = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false))
|
using (var remoteStream = await _msg.Content.ReadAsStreamAsync().ConfigureAwait(false))
|
||||||
{
|
{
|
||||||
await input.CopyToAsync(responseStream).ConfigureAwait(false);
|
await remoteStream.CopyToAsync(responseStream, 8192000).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue