Report this

What is the reason for this report?

Can I use DO space with CDN for live streaming?

Posted on February 19, 2020

I have a droplet on which RTMP server runs it creates .m3u8 and .ts files for HLS streaming. Currently I am using nginx to play the video by serving .m3u8 and .ts files to the player. I want to use DO SPACE with CDN to do this. I get a signal from RTMP server that ts file has been created then I can move that file as well as m3u8 to the space continuously as the new .ts file and updated .m3u8 file are created. I want to save the bandwidth on the droplet and also want to reach more audience without any limitation on the hardware. Your help is appreciated. Thanks in Advance



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I use DO spaces to stream videos for a youtube alternative site, www.roxytube.com with no issues.

The Spaces products are specially intended for this purpose.

DigitalOcean Spaces is an object storage service that can be used to store large amounts of diverse, unstructured data. A lot of people use Spaces in order to host their static content and load them from there instead of hosting them directly on their droplets. Using object storage for these types of static resources can optimize site performance by freeing up space and resources on your servers

You can also enable CDN to speed up your end-user experience by caching assets at more than 25 global points of presence.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.