This page looks best with JavaScript enabled

Discord Streamer

 ·   ·  ☕ 2 min read

i wanted to stream SGDQ into a discord voice channel over the course of the week without needing to keep my desktop on. tried doing it with laptop but it was so chuggy

what i ended up doing was

get a g2.2xlarge windows instance on aws.

rdp in to the instance from my laptop log in, get twitch desktop app, log in, get discord desktop app, log in.

enable audio in rdp settings to play on the local computer

start stream to discord channel from twitch

leave laptop running. this is necessary because the audio will stop otherwise, since windows instances dont really have soundcards and i didnt want to deal with trying virtual audio cable

it works pretty well. not free though unfortunately, and my laptop still has to be on

you can make it so you can minimize rdp windows and itll still work (so the laptop screen doesnt have to be on, i think, but definitely the rdp window itself doesnt have to be fullscreen). instructions for that: https://sahipro.com/docs/faq/remote-desktop-connection.html

also want to transfer the rdp connection to console type so that if you do disconnect it doesnt kill the entire stream

in powershell or cmd: tscon sessionname /dest:console

where sessionname (you can also use sessionid) is determined from

query session

do this on the windows instance itself

elastic gpu didnt work because twitch doesnt use opengl to render i guess, which makes sense

compute instances were better than t instances but i still had to go to like t3a.2xlarge for it to work right. and to go any higher, it ended up being cheaper to use the g2 instance

of course im using spot instances as well

Share on
Support the author with

omar saleem
WRITTEN BY
omar saleem
Software/DevOps Engineer