Middleware for streaming MP4s directly from Swift