Streaming Video
Is it possible to stream video from a cloudflare R2 bucket? And if it's possible, is it the right choice?
7 Replies
possible? yeah
cloudflare has a solution for that
Cloudflare Stream | Video streaming made easy and affordable at sca...
Cloudflare Stream is an easy-to-use online video streaming platform. Spend less time managing your video platform and more time promoting your product.
cloudflare stream is more for vod systems
but to stream, if the video player allows, should work just fine for any r2 item
What do you mean by vod?
Lets say I want to create a platform where a user can just store a video, and come back and watch it later. Then stream the video to the user, with like a buffer, if that's the right term.
That I can use R2 for, or?
I would think so
VOD, or video on demand, is then you have a video being served on multiple qualities like a Yt video or a twitch vod
You can host a mp4 file there and test it
So if I wanted to serve the video in multiple qualities, I would have to store multiple qualities in R2, or switch to another service like Cloudflare Stream?
I also saw someone talking about switching over to S3 + Cloudfront + Mediaconverter. Don't know if that would be better, and cheaper
more flavors of the same thing, if you are using aws, then S3 + CF can work for you already, if you are using R2, you can use CF for it as well
i dont have enough exp on that area to say what is the better alternative