Log in Sign up freeSign up

πŸŽ₯ OBS and LIVE Studio7 min readUpdated

How to add an overlay in OBS for TikTok LIVE

In OBS, overlays go in through a Browser Source. The right size for vertical LIVE, transparent backgrounds, and fixes for black screens and cache.

How to add an overlay in OBS for TikTok LIVE

Step by step

  1. 1

    Check your stream key

    TikTok has to grant a server URL and key to your account. Without one, use LIVE Studio.

  2. 2

    Set OBS to vertical

    Settings β†’ Video: base resolution 1080x1920 (or 720x1280).

  3. 3

    Add a Browser Source

    Sources β†’ + β†’ Browser, and paste the overlay link in the URL field.

  4. 4

    Set width and height

    Use 1080 x 1920 for a full-screen game on vertical LIVE.

  5. 5

    Keep the background transparent

    Don't delete the Custom CSS that comes with the source.

  6. 6

    Check the preview

    Fire actions with the preview commands and check OBS before going live.

First: OBS on TikTok needs a stream key

To stream from OBS to TikTok you need the stream key (server URL + key) that TikTok shows for your account. Not every account has one: TikTok decides who gets it, and the criteria vary by region.

If you don't have a key, use TikTok LIVE Studio or build the scene in OBS and send it to LIVE Studio through the virtual camera.

Once you have it, it goes in Settings β†’ Stream, as a custom service. On many accounts the key changes from one LIVE to the next, so check it before each stream.

Set OBS to vertical

OBS resolution at 1080 Γ— 1920 (or 720 Γ— 1280): a vertical 9:16 scene that matches the phone screen instead of 16:9

Most people watch TikTok on a phone held upright. In Settings β†’ Video, set the base resolution to 1080x1920 (or 720x1280 on a weaker PC) and the output to the same or lower, keeping 9:16. That way the OBS scene matches the phone screen.

Step by step: Browser Source

OBS Browser Source properties: URL with the overlay link, width 1080, height 1920 and the CSS that keeps the background transparent
  1. In your LIVE scene, under Sources, click +.
  2. Choose Browser.
  3. Name it, for example "Game".
  4. In URL, paste the overlay link. In StreamHype, it's under Settings in the dashboard.
  5. In Width and Height, use your scene size: 1080 and 1920 for vertical LIVE. The OBS default is 800x600, which leaves the game small and cropped.
  6. Confirm. The overlay shows up in the preview. If needed, drag the corners or right-click β†’ Transform β†’ Fit to screen.

For small overlays (goal, leaderboard), use the size the overlay recommends and place it in a corner.

Transparent background

Before and after: an overlay with a black background covering the camera, and the same overlay with a transparent background over the camera

The Browser Source comes with a Custom CSS that makes the page background transparent. Don't delete it. If the overlay shows a black or white background, the page itself has one. Overlays built for streaming, like StreamHype's, are already transparent where needed.

A full-screen game usually has its own scenery, so it fills everything. Put the camera on top in a corner, or the game on top and you below.

Source order

Source order in OBS: with the browser on top the camera disappears; with the camera above the browser it shows over the game

Game audio

By default, Browser Source audio goes straight to OBS. If you tick Control audio via OBS, the sound shows up in the mixer as its own source and you set the volume there, apart from music and mic. Keep the game quieter than your voice.

Cache and refresh

When you switch games in the dashboard, the StreamHype overlay changes by itself on the same link. If something gets stuck on an old version:

  • Right-click the source β†’ Properties β†’ Refresh cache of current page.
  • Avoid Shutdown source when not visible if you switch scenes mid-LIVE: the game reloads every time it comes back.
  • Refresh browser when scene becomes active only helps if you want a clean restart on every scene switch.

Common problems

  • Black or empty screen: check the link (complete, no spaces). Open it in a browser to see if it loads. Then refresh the source cache.
  • Cropped game: width and height don't match the scene. Use 1080x1920 for vertical.
  • Blurry game: the source was stretched from a small size. Raise width and height in properties instead of stretching in the preview.
  • Lagging: many open browser sources weigh on the PC. Keep only the ones in use, and tick Use custom frame rate at 30 if your PC struggles.
  • Doesn't react to chat: the LIVE must be connected in the dashboard and the saved @ must be the account that is live.
  • Link stopped working: if someone used "Generate new link", the old one is no longer valid. Paste the new one.

Check the preview

Before going live, fire actions with the StreamHype dashboard preview commands and watch in OBS how each action and event looks.

To choose between the two apps, see LIVE Studio or OBS. To pick what goes in the scene, browse the games and overlays.

FAQ

What size should the Browser Source be for TikTok LIVE?

1080 x 1920 for a full-screen game on vertical LIVE. Small overlays use the size each one recommends.

Why don't I have a TikTok stream key?

TikTok decides which accounts get a key, and the criteria vary by region. Without one, use TikTok LIVE Studio.

The overlay has a black background. How do I remove it?

Check the source's Custom CSS is still there. If it is, the background belongs to the page: use an overlay built for streaming.

I switched games in the dashboard. Do I change the link in OBS?

No. The StreamHype link shows whatever game the account is using. If it gets stuck, refresh the source cache.

Try it on your next live

Start free