FluentStorage
FluentStorage copied to clipboard
Partial Content / CanSeek for Azure Blob Storage
Hi all, I'm trying to serve videos retreived using FluentStorage using a HTTP controller and HTTP 206 Partial Content.
When using the disk storage provider, everything works fine - the clients are able to request parts of the videos. When using the Azure Blob storage backend, this is not possible. "CanSeek" is false
var stream = await _blobStorage.OpenReadAsync(file.ExternalStorageId);
_logger.Log(LogLevel.Information, "File {0} opened for reading. CanSeek: {1}", file.Id, stream.CanSeek); // <-- False
Is there a way to get a seekable Stream here? Or do I really need to use the native Azure SDK which seems to support this?
Thank you :)
Is there anything planned to implement this?