How to upload from R2 to Cloudflare Stream for large files?
https://discord.com/channels/595317990191398933/893253103695065128/1349612376852533260
I would love for this to work on my local setup as well so I don't have to test on R2 directly on cloudflare, but if that is the only way to test large files let me know.
I am developing locally and am trying to transfer large videos from R2 to Stream and hitting the size limit issue.
What would be the best way to handle this? can you actually send a tus request via worker without a browser? Would this work on server?
https://developers.cloudflare.com/stream/uploading-videos/resumable-uploads/
Or is should I create a R2 link via S3 only on a real R2 bucket, because I don't think we can do this on local testing??
https://developers.cloudflare.com/stream/uploading-videos/upload-via-link/
https://developers.cloudflare.com/r2/examples/aws/aws4fetch/#generate-presigned-urls
1 Reply
I don’t think there is a good local solution. The best imo is the resigned URL, but as you mentioned, that doesn’t work locally