Report this

What is the reason for this report?

Can I host a video streaming service on my droplet?

Posted on April 1, 2019

I’m trying to create something similar to Twitch Plays Pokemon, where commands are recieved via a web interface, something is done with the commands, and the results streamed live.

I’ve already played around with VNC to get a desktop environment. It LOOKS like this should work, but is there likely to be some problem down the road that I can’t forsee at the moment?



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.

You can use 1-click Ant Media Server image in Digital Ocean Marketplace for live streaming.

You can definitely stream video, and I think you will find that the bandwidth costs on DigitalOcean are much less than doing something similar on AWS/GCE/Azure.

One recommendation: You might be able to reach a large audience more efficiently and cheaply if you stream from the Droplet to YouTube, and then host a webpage that has the interactivity and the YouTube stream embedded.

That way there’s only one outbound video stream from the Droplet, and YouTube handles scaling it to hundreds of viewers.

Heya,

Yes you can configure a video streaming service on your droplet. We do have resources on this topic which you can check here

https://www.digitalocean.com/solutions/streaming

https://www.digitalocean.com/resources/article/improve-performance-media-streaming

If you’re planning on using our Spaces product you can consider the following information.

Spaces are designed for storing and serving moderate to large files. Files 20 MB to 200 MB in size will give the best performance for both writes and reads. Additionally, combining small files into one larger file will greatly reduce the overall number of requests to your Space compared to handling many small files individually.

How Do I Implement This?

When uploading files larger than 500 MB, you should use multi-part uploads.

We recommend combining files less than 1 MB together into a single, larger file. How you do this will be specific to your particular files and use case, but one example is concatenating daily log files into a monthly file.

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.