Bun.mp4 Apr 2026

Instead of manually calculating CHUNK_SIZE and Content-Range headers with fs.statSync (as currently done in Express), Bun.serveVideo would automatically handle this based on the Range request header.

Description * What version of Bun is running? 1.1.21+70ca2b76c. * What platform is your computer? Microsoft Windows NT 10.0.22631.

Do you need to support (transcoding) or just streaming ? I can refine this feature proposal further. bun.mp4

Leveraging Bun.file (which provides lazy loading of files) to stream directly without loading the whole video into memory. 2. Example Usage: javascript

Removes the need to manually manage 206 Partial Content headers. If you can tell me: * What platform is your computer

Memory Leak with Blob/ArrayBuffer and Bun's Garbage Collection

It would utilize a optimized stream pipeline to prevent memory leaks, resolving issues where large video fetches fail to release memory. I can refine this feature proposal further

Based on the search results, "bun.mp4" appears in issues related to Bun's handling of video streaming (specifically Range requests causing infinite loading) and memory leaks during fetch calls.