mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 15:33:03 +03:00
rework live stream creation
This commit is contained in:
@@ -6,11 +6,6 @@ namespace MediaBrowser.Controller.IO
|
||||
{
|
||||
public static class StreamHelper
|
||||
{
|
||||
public static void CopyTo(Stream source, Stream destination, int bufferSize, CancellationToken cancellationToken)
|
||||
{
|
||||
CopyTo(source, destination, bufferSize, null, cancellationToken);
|
||||
}
|
||||
|
||||
public static void CopyTo(Stream source, Stream destination, int bufferSize, Action onStarted, CancellationToken cancellationToken)
|
||||
{
|
||||
byte[] buffer = new byte[bufferSize];
|
||||
|
||||
Reference in New Issue
Block a user