---
title: How not to live stream your code
description: This week, I did my first live stream on Twitch and it didn't turn out
  so well (to say the least). Here's a recap of my rookie mistakes, what I liked about
  it anyway, and what I'm planning on doing.
author:
  name: Rémi Mercier
  url: https://remimercier.com/about/
canonical_url: https://remimercier.com/how-not-to-live-stream/
published: '2020-05-10'
language: en
topics:
- Community
site:
  name: Rémi Mercier
  url: https://remimercier.com
---

# How not to live stream your code

> This week, I did my first live stream on Twitch and it didn't turn out so well (to say the least). Here's a recap of my rookie mistakes, what I liked about it anyway, and what I'm planning on doing.

Published on 2020-05-10 by Rémi Mercier.
Original: https://remimercier.com/how-not-to-live-stream/

A little preamble first: Some years ago, I watched the British sitcom ["How Not to Live Your Life"](https://en.wikipedia.org/wiki/How_Not_to_Live_Your_Life){:target="\_blank"}. It gave me a proper laugh then, and I've been trying to write something that could be titled similarly. My (shitty) first live stream just allowed me to do so. So, thank you shitty first live stream.

Okay, back to business.

Last Wednesday, I decided to livestream a coding session on Twitch - [follow me there!](https://www.twitch.tv/merciremi){:target="\_blank"} - to complete my latest tutorial on [asynchronous requests in Rails](/asynchronous-requests/). Several reasons convinced me to try it:
- I've loved live coding since attending Le Wagon.
- I've wanted to jump on the live stream bandwagon for ages now.
- And, more importantly, I thought some people might understand tutorials better by following along a video.

I prepared a little bit but mostly thought "Fuck it, I'll learn by doing". And of course, it turned bad. Awkwardly bad.

I'll still upload that video, and share it for posterity and as a landmark to look at one year from now.

Time for a recap!

## The bad parts

__Not enough preparation:__ I'm no perfectionist, but I should have prepped just a teeny-tiny little bit more. Doing my first live stream with no safety net was not necessarily the best decision. I didn't know my code enough. I didn't master OBS at all. I really lost my cool there, and this was not a great feeling.

__No rehearsal:__ This one goes with the previous observation. I should have done a full rehearsal. Just the one, you know, like warming-up before a marathon.

__OBS setup:__ Juggling between OBS scenes and my coding screens was too difficult. At some point, I realized I was talking about my code for 5 minutes, but people were still watching my browser. I had forgotten to switch screens for them. Awkward.

__Some shitty environment:__ I didn't have a lot of options, to be honest. I streamed from outside, and it didn't turn out well:
- People didn't see my face because my background was sunlit.
- The wind made a lot of background noise and distraction.
- Lousy microphone.

__My stress level:__ I was stressed out. Every snag hit me hard. I realized I'd hold my breath for the whole 33 minutes. Not good.

__This freaking accent:__ This one was tough for me. It was hard to explain things live. But hearing my accent grow stronger by the minute made it even harder.

## The good bits

__Fun:__ In retrospect, I enjoyed doing it. I've been watching seasoned streamers for a while now, and even them experience hiccups. And that's okay. This is what learning-in-public is. Sometimes, things go wrong, and you fix them.

__I can do better:__ I've realized that despite this first stream being shitty, I could do better. [I even recorded another screencast the next day](/asynchronous-requests/#async-request-screencast). I tweaked my OBS setup. I found a better place to do it. I have plenty of room to improve and find my groove. ✌️

__So much potential:__ I've felt that live streams are a fantastic way to learn, teach, and share knowledge with others. I've missed teaching code, and I'd love to see where I can take this thing. Even make it sustainable?

## Improvements

__Just fucking breath:__ Problems, bugs, hiccups are just part of a normal day. Stressing out never helped anyone getting things done with gusto.

__Try out different setups:__ I've got to tinker with OBS so my streaming setup doesn't get in the way. Same thing with headphones, mic, etc.

__A live experiment:__ Practice, make rookie mistakes, learn, rinse and repeat. Only by keeping streaming, I'll find my style. And let's face it, learning in public is just plain awesome.

__Write a basic script:__ I don't want anything super detailed, but a basic layout would make a good safety net. I could list key take-aways too. It'd still leave room for accidents but would mitigate the (negative) impacts.

__Research more:__ When I first streamed about asynchronous requests, I didn't know what `'X-Requested-With'` was, so I kinda skimped it. I could have researched everything beforehand, or I could have simply checked about it live. Thinking on your feet is a good skill as a developer, so I think I'll go for the latter option next time.

__Practice speaking English aloud:__ I'm okay with speaking in front of people or a camera. Now, I've got to either improve my accent or just accept it. I think I'll keep swearing in French, tho.

## Wrap up

Before I say good-bye for today, here's my first live stream. Don't watch it please. 😅

<iframe width="900" height="500" src="https://www.youtube-nocookie.com/embed/CHvA0uzQd9A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

That's is for today folks!

Any question? [Ping me on Twitter](https://twitter.com/mercier_remi){:target="\_blank"} or [create an issue on GitHub](https://github.com/merciremi/remicodes/issues/new){:target="\_blank"}.

Cheers,

Rémi

---

Written by Rémi Mercier (https://remimercier.com/about/), independent Ruby on Rails developer and technical writer.
Original article: https://remimercier.com/how-not-to-live-stream/
When quoting or referencing this article, please cite "How not to live stream your code" by Rémi Mercier, https://remimercier.com/how-not-to-live-stream/
