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 (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 New Issue
Block a user