Video-Stream
Video-Stream is a high-performance HTTP video streaming Web API built on ASP.NET Core 9 and C. It delivers media files directly from a SQL Server FileStream backend with automatic fallback to local storage when available. The system fully supports HTTP byte range requests, enabling efficient partial content delivery and compatibility with almost all modern video players. Key features include customizable chunk sizes, intelligent memory caching for metadata, non-blocking async I/O operations, and structured logging. The solution utilizes dependency injection and follows modern .NET 9 architectural best practices. It is designed for Windows environments where SQL Server FileStream is enabled, supporting media formats such as MP4, MP3, WebM, OGG, and WAV. Setup involves configuring connection strings, executing a provided SQL script to establish the database with FILESTREAM support, and defining buffer paths in settings. The API exposes a simple GET endpoint for streaming files by ID, handling MIME type detectio