Can I create a Twitch stream from my droplet?

April 1, 2019 137 views
Programming Project Ubuntu 18.04

I've had a think, and I can't come up with any reason why this can't be done, but I don't want to waste time if it's impossible.

Essentially, I want to host a site on my droplet that takes inputs from the user, it does something with these inputs, and streams the result on twitch. Obviously, this would be automated and wouldn't require any manual input from me after it's all initialised.

I've played around with VNC to get a desktop environment already on my droplet. In theory, could I stream this?

1 Answer

Greetings!

From my perspective, this is absolutely possible. Twitch seems to document it's API quite well:

https://dev.twitch.tv/docs/api

Take a look here at a Python app that can be used to stream various inputs to Twitch:

https://github.com/scivision/PyLivestream

Whether or not a code library will already exist to help you get from Point A to Point B on this project is a different story, but the idea that it is possible to do what you are looking to do (as a high level theory) seems like a definite yes to me.

Jarland

Have another answer? Share your knowledge.