public Task CopyToAsync(Stream stream, CancellationToken cancellationToken)
 {
     if (_enableFileBuffer)
     {
         return(CopyFileTo(_tempFilePath, stream, cancellationToken));
     }
     return(_multicastStream.CopyToAsync(stream, cancellationToken));
     //return CopyFileTo(_tempFilePath, stream, cancellationToken);
 }
Exemple #2
0
 public Task CopyToAsync(Stream stream, CancellationToken cancellationToken)
 {
     return(_multicastStream.CopyToAsync(stream));
 }