DEV Community

Cover image for My Twitch live coding setup in OBS
Salma Alam-Naylor
Salma Alam-Naylor

Posted on • Updated on • Originally published at

My Twitch live coding setup in OBS

When streaming live coding on Twitch, I code on a MacBook Pro and stream via OBS on a custom PC build. Given the variety of wild overlays I have added to my stream over time, I often receive questions about how I set up OBS to stream, so letโ€™s take a look!

This article does not intend to be a tutorial on how to use OBS, but rather a window into the backstage area at p4nth3rHQ to answer common questions.

This article will also help future me in the event my streaming PC explodes ๐Ÿ”ฅ.

How I monitor my stream when Iโ€™m live

A screenshot of what I see in OBS when I am streaming live on Twitch

I monitor my stream through a combination of UI docks in OBS and the Twitch Stream Manager โ€” which I view on my MacBook Pro screen. Monitoring activity on two screens means I am less likely to miss activity in chat or items in the request queue.

The most important part of what I monitor in Twitch Stream Manager is what my viewers are seeing (which is always slightly delayed compared to what I see in OBS). This ensures I can time raids at the end of my stream accurately, and alerts me to any visual/framerate issues as well.

I use a variety of configurable UI docks available in OBS, including:

  • Twitch chat
  • Twitch stats
  • Twitch request queue
  • Twitch activity feed
  • Captions monitor (powered by the Google Cloud Captions plugin)

Component and Composite Scenes

I organise my scene collection in OBS into a set of component scenes to enable easy reuse across composite scenes.

I prefix all scene names with labels for quick visual identification, such as [SCENE] for a composite scene that will be shown on stream, [C] for component and so on. I also separate the list of component scenes into categories with blank scenes named โ€œ-------โ€.

A screenshot of the full list of component and composite scenes I use in OBS

The composite scenes I use on stream

  • Pre-roll
  • Chatting
  • Coding
  • Intermission
  • Other scenes


An animated gif of the starting soon screen I use when live streaming on Twitch

This is the scene youโ€™ll see when Iโ€™ve just pressed the go-live button. I leave this scene on for around five minutes, whilst I welcome people to the stream by voice. I donโ€™t usually have my webcam capture visible for this scene, but sometimes I surprise the audience with a cameo appearance now and then.

Hereโ€™s how it looks in OBS:

A screenshot of the pre-roll composite scene components in OBS

The [C] essentials component scene is a collection of browser sources that appear on every composite scene except the end-transmission scene, comprising:

  • Streamlabs alert box (which I only use for host alerts)
  • Giveaway Friday overlay
  • Footer overlay
  • Chat overlay
  • p4nth3rdrop overlay
  • troll alert component scene (comprising a number of .mov files)

A screenshot of my essentials component scene that I add to every composite scene

The giveaway, footer and chat overlays are powered by a React app, whilst p4nth3rdrop โ€” the emote rain powered by Twitch chat commands โ€” is a self-contained application.

The [C] panther static overlay is a component scene containing the two large semi-transparent panthers you see in the background of the scene. The [banner] starting-soon and [panther] majick are at the centre of the screen.

The Geo Loop is the dynamic geometric transparent-ish background โ€” this is something I tried out once and it stuck โ€” and I havenโ€™t needed to put it in its own component scene yet.

The p4nth3rlabs alerts browser source is added as a separate component on each composite scene. Even though I want to show the alerts on every scene, the browser source remains separate from the essentials due to it needing to be positioned differently across scenes. This is also the case for the p4nth3rball, which is another self-contained application.

Depending on my mood, Iโ€™ll use the [BG] black or [BG] red patterned backgrounds. I leave both components in the scene for ease of switching โ€” I do this type of thing in a lot of scenes.


An animated gif of a loop from my live Twitch stream that shows me in my chatting scene

I mostly use this scene at the beginning and end of streams. It contains all of the essentials and separate components mentioned in the pre-roll scene, plus a Credits browser source from Streamlabs, which I use to show my custom-styled credits at the end of a stream. Here's how it looks in OBS:

A screenshot of my chatting composite scene details from OBS


An animated gif of a short part of a live Twitch stream where I am coding and receiving a subscription alert

This is the scene Iโ€™ll show for most of a stream. This scene contains all of my essentials, the p4nth3rlabs alerts, and two [Capture] source component scenes. I use the Elgato HD60 S Capture Card 1080p to send the output of my main monitor (which is plugged in to my MacBook Pro) to the streaming PC.

The [Capture] Main component scene is the full capture of my main 1080p monitor that I view directly in front of me when I stream.

The [Capture] Pixelated screen component is my current privacy screen, which allows for some dynamic movement behind a privacy filter when I need to conceal my screen. This is a separate component scene containing another capture of the main monitor I code on, with a scaling/aspect ratio filter applied. Read this post by Luce Carter to see how I set this up.

Ordering of the component scenes inside composite scenes is something I make sure to consider carefully. For example, in the coding scene itโ€™s important that the [Cam] Main is above [C] alerts, so that the alert banner doesnโ€™t cover my face.

An animated gif of a shot from my live Twitch stream that shows my pixelated privacy screen

Hereโ€™s how it looks in OBS:

alt="A screenshot showing the components that make up my coding composite scene in OBS"


An animated gif showing the intermission scene that I use during my Twitch live streams

The intermission scene is almost identical to the pre-roll scene, with the banner and panther switched out. Hereโ€™s how it looks in OBS:

A screenshot of my intermission composite scene I use whilst live streaming on Twitch in OBS

Other scenes

  • [SCENE] end-transmission is for when the stream ends โ€” youโ€™ll usually only see this for a few seconds before a raid
  • I use [SCENE] coding CAMR if I need to move my face to the left side of the screen (next to chat) for any reason
  • [SCENE] coding CAMSMALL is used to make my webcam capture smaller should I need to show viewers something behind my head โ€” itโ€™s a direct copy of [SCENE] coding but with the webcam component made much smaller
  • [SCENE] coding GUEST is a flexible scene for when I have a guest on stream, which is mostly a duplicate of [SCENE] coding
  • [SCENE] hacking used to be my privacy scene that I tend not to use these days โ€” but I still keep it around


A gif of the stinger I used for my scene transitions in OBS

I recently made a stinger using this tutorial from Gaming Careers that I use to transition between all of my scenes. Here are the transition settings in OBS:

A screenshot of the transition settings I use for my stream scenes in OBS


I use the Wave Link software that comes with my Elgato Wave 1 USB Condenser Mic to control most of the audio in OBS. I set up Wave Link to send audio inputs from multiple channels (mic, system sounds, voice chat in Discord, and the audio capture from my Mac) to one output for the stream โ€” via the Wave Link Stream output โ€” or WLS.

Here are the two audio channels added to the main [A] Audio mix component scene, which is added to every streaming scene, except end-transmission.

A screenshot of the audio component scene in OBS which I add to every composite scene

Here are the Wave Link software settings. The Wave Link microphone acts as an audio interface, and this software allows the control of audio channel levels individually. My headphones are plugged into the microphone, and the interface allows me to control the levels of what I hear in my headphones independently of what audio levels are output to the stream.

A screenshot of the Wave Link audio interface software showing the channels I add to my main stream audio channel

The music played via the Pretzel application is added as a separate audio channel, so I can lower the level of the music automatically whilst I am speaking via a compression filter โ€” this is called audio ducking.

If youโ€™re playing music in the background whilst you speak, audio ducking is a really powerful feature that can greatly improve the production quality of your streams. I add a compression filter to the Music audio channel with the following settings. This means that whenever audio is output on the WLS channel, the Music channel will lower in volume.

A screenshot of the settings I use for audio ducking in OBS

I also use a compression filter on the WLS channel, to filter out some background noise from the microphone input.

A screenshot showing the compression filter settings I use on the main audio channel of the stream

As I use the Wave Link software to manage my audio channels, I disable all global audio devices in OBS, and set the monitoring device to the headphones plugged into my microphone/audio interface.

A screenshot showing the global audio settings I use in OBS

In the advanced audio settings, I set three audio sources that are generated by component scenes (browser sources) to Monitor and Output, so that I can monitor what my viewers are hearing on stream โ€” such as follower alerts and chat-controlled overlay changes.

A screenshot showing the advanced audio mixer settings in OBS

Stream Settings

Currently I stream at 2500kpbs, in 1080p at 60fps.

A screenshot of the output settings I use in OBS

A screenshot of the video settings I use in OBS

OBS Plugins

Cloud Closed Captions

I use the Cloud Closed Captions plugin to provide captions to my viewers on stream. I have found it to be really reliable, and I like the fact that I can monitor the generated captions whilst I stream in a UI dock.

A screenshot showing the captions settings I use in OBS

Elgato Remote Control

I use this plugin with my Elgato Stream Deck XL.

If you want to chat about or get some advice on live coding streaming setups, come and join a fantastic group of tech streamers in The Claw Discord server. Weโ€™d love to have you!

Top comments (8)

froxx93 profile image

You can see how new of a thing streaming still is due to how few actual standards exist in things like scene composition, etc.
I always love seeing people share their own (sometimes hacky) solutions and their experiences. What did I try? What was good? What was bad? How did I change the bad things? What am I still not having a satisfying solution for?
The more people share these infos the faster great systems can develop including fancy tools built around that to make it easy reaching a comfortable way to do all sorts of things.

So thanks again for this post. Very helpful and much appreciated!

whitep4nth3r profile image
Salma Alam-Naylor

Thanks, Froxx!

samaaron profile image
Sam Aaron ๐Ÿ‡ช๐Ÿ‡บ

Thanks for this. I look forward to seeing how you use the Stream Decks and am also interested to know how you themed OBS :-)

Also, love the tip of having an empty scene named ----------

whitep4nth3r profile image
Salma Alam-Naylor

Thanks Sam! Regarding themes... this was a hidden gem I didnโ€™t find for a while. Go to Settings > General. I use the Rachni theme which is available by default. Enjoy!

samaaron profile image
Sam Aaron ๐Ÿ‡ช๐Ÿ‡บ


rcheesley profile image
Ruth Cheesley

Thanks for sharing - some great tips and a fascinating insight into your setup!

matiasbaldanza profile image
Matias Baldanza

Wow. Thank you for such a thorough walkthrough! ๐Ÿ™Œ

katieadamsdev profile image
Katie Adams

This is so cool. I've been excited to try live stream coding and this is a great in-depth look at this aspect of it.