QR codes for YouTube live streams
Put a scannable QR code on your stream with a browser source in OBS or Streamlabs. Viewers watching on a TV scan it and open your channel on their own phone, without leaving the stream.
How it works
Each SofaSub code has a live overlay: a small web page made to be added to your streaming app as a browser source. It shows the same code your viewers already know, and scans of it are counted separately from scans in your videos, so you can see what your streams bring in on the Results page.
Free accounts can use the overlay with its standard message: "Scan to subscribe" (or "Scan for my channels" on a hub code). With Pro you can change that message during a stream.
Set it up in OBS Studio
- Create a free account and make a code for your channel on your Dashboard, if you haven't already.
- On your Dashboard, open Live overlay next to the code and copy the overlay address.
- In OBS: Sources → + → Browser. Give it a name.
- Paste the address as the URL. Set the width to 200 and the height to 340. The part the card doesn't use is see-through.
- Make the code big enough for a TV (see the next section), then drag it into a corner of your scene.
- Right-click the source and choose Lock, so it can't be nudged by accident mid-stream.
- Go live (or start a private test stream) and scan it from your phone.
Make the code bigger without blurring it
At 200 × 340 the code is 150 pixels across. On a 1920 × 1080 stream that's about a seventh of the picture's height: fine on a monitor, small on a TV across the room.
Dragging the source's corners to enlarge it stretches that small picture, which can soften the edges of the squares. It's sharper to make the page itself bigger:
- Open the browser source's Properties.
- Set the width and height to one of the sizes below.
- In Custom CSS, leave what's already there and add the matching zoom line on a new line at the end.
| Width × height | Add to Custom CSS | Code size | On a 1080p stream |
|---|---|---|---|
| 200 × 340 | (nothing) | 150 px | About a seventh of the height |
| 300 × 510 | body { zoom: 1.5; } | 225 px | About a fifth, the same as SofaSub's video graphic |
| 400 × 680 | body { zoom: 2; } | 300 px | Over a quarter: for big rooms |
Then leave the source at 100% in your scene rather than resizing it. On a 1440p or 4K canvas, scale up in the same way: the code should take up roughly a fifth of your canvas height.
Streamlabs and other apps
Streamlabs Desktop, and any streaming app with a browser source, works the same way: add a browser source, paste the overlay address, and use 200 × 340 as the size. If the app lets you add custom CSS, the sizes in the table above work there too; if it doesn't, enlarge the source and check it stays sharp. There's nothing to install and no plugin.
Put it on every scene where you want it, or in a scene you use as a nested source so it follows you between scenes.
Change the message while you're live (Pro)
With Pro you can change the line under the code from your phone, mid-stream: "Subscribe for Sunday streams" at the start, "New video out now" at the end. Messages can be up to 60 characters, and you can save up to 6 to switch between with one tap. A new message appears on your stream within a few seconds. The code itself never changes, so it keeps working whatever the message says.
Placement tips
- A top or bottom corner, with a margin. On a 1080p canvas, keep about 60 pixels from the sides and top, and about 100 pixels from the bottom: YouTube's player controls cover the bottom of the picture when someone pauses or moves the remote. Right-click the source → Transform → Edit Transform to type an exact position.
- Keep it clear of your webcam, chat box and alerts, so nothing pops up over it.
- Make it bigger than you'd think. A stream is often watched across a room, and stream compression softens fine detail.
- Example layout for a gaming stream: webcam bottom-right, code top-right at 300 × 510 with zoom 1.5, alerts top-centre, so the code never sits under an alert or your face.
- Mention it now and then: "if you're watching on a TV, scan the code in the corner".
- Viewers on a phone or computer can't scan their own screen, so put your code's link in your stream description and chat commands too.
Honest limitations
- It needs a browser source. If your streaming setup can't show a web page (for example streaming straight from a phone or console), the overlay won't work there. You can still add a video graphic as an image if your app supports images.
- It needs the internet to update. The overlay checks for a new message every few seconds. If that check fails, it keeps showing the last message and the code keeps working; it tries again a little later.
- Message changes are Pro only. If Pro ends, the overlay goes back to the standard message. The code keeps working.
- Stream quality matters. At low resolutions or bitrates the code can blur, and fast-moving footage behind it makes compression worse. Keep the white card behind the code, and test at the quality your viewers actually get, including 720p.
- Viewers need a moment. Someone on a sofa has to notice the code, unlock their phone and open the camera. A code that's only on screen during a short break may be missed; leave it up, or bring it back regularly.
- It's on the replay too. The overlay is part of the picture, so it stays in the stream's recording.
- A scan isn't a subscriber. SofaSub counts scans and taps. YouTube doesn't share who subscribed, so compare with YouTube Studio.
Making videos as well? See how to add a QR code to a YouTube video.
Give TV viewers an easier way to subscribe.
Make your free QR code in a few minutes, and see what your viewers will see before you publish.
Start free