Is streaming to an R2 file possible?

I have an audio stream that continuously yields audio buffers to a ReadableStream. My goal is to take these buffers and upload them to Cloudflare R2, but I’m unsure of the best approach to achieve this.

Is it possible to stream upload to an R2 file without knowing the size in advance?

Thank you in advance šŸ™
Was this page helpful?