This question already has an answer here:
Hi so I would like to stream video from my raspi to a streaming service like twitch. I have setup my pi using this answer, but that only lets me stream inside my local network.
I do have another computer that can take the info from the pi to the service if needed. It's currently running windows 7 but I can install linux if needed.