Why stream to TikTok LIVE with OBS Studio?
OBS Studio is free, open-source software for recording and live streaming on Windows, macOS and Linux. Many streamers already know it, and it gives you full control over scenes, sources and audio. If you also record videos with OBS, you can keep one tool for everything.
OBS isn't made by TikTok, though. It needs the stream details from TikTok to send your live to your account, and those aren't available on every account. If you don't have them, TikTok LIVE Studio is TikTok's own way to go live from a computer. The comparison of TikTok LIVE Studio and OBS helps you decide.
How do I set up OBS Studio for TikTok LIVE step by step?
You need OBS Studio, the server URL and stream key from TikTok and a Livedeck account for the overlay.
- 1
Check your stream details
Check in TikTok whether your account offers a server URL and stream key for desktop streaming.
- 2
Set a portrait canvas
In OBS, open Settings → Video and set the base (canvas) resolution, for example 1080 × 1920.
- 3
Add camera, mic and game
Add your camera, your microphone and, if you like, a game or window capture to the scene.
- 4
Add the Livedeck overlay
Click + in the Sources dock, choose “Browser”, paste your overlay link, set the size and turn on “Control audio via OBS”.
- 5
Enter server and key
Open OBS's stream settings and enter the server URL and stream key from TikTok.
- 6
Test and start
Fire a test alert in Livedeck, check the preview and click “Start Streaming”.
How do I get a TikTok stream key for OBS?
TikTok's guide to going LIVE describes third-party software such as OBS like this: you add your video and audio sources, enter the server URL and stream key provided by TikTok in OBS's stream settings, check the preview and click “Start Streaming”. The same guide says the availability of desktop LIVE options may vary by account and region.
So the stream key comes from TikTok, not from OBS or any other tool. If your account shows no option for it, you can't stream to TikTok with OBS yet. Be careful with tools or websites that claim to generate a TikTok stream key for you: only TikTok can give your account one.
Treat the key like a password. Anyone who has it can stream to your account. Never show the settings window on stream and never paste the key into a chat.
Which canvas size should I use in OBS for TikTok?
Most viewers watch TikTok LIVE on a phone in portrait, so a portrait canvas fills their screen. In OBS you set the base (canvas) resolution in Settings → Video, for example 1080 × 1920 for 9:16. A landscape canvas of 1920 × 1080 shows up as a smaller strip on a phone.
Your overlay should match the canvas. Livedeck's editor has layouts for 9:16 and 16:9, and you set the same numbers as Width and Height of the browser source.
Which sources do I need in OBS for a TikTok LIVE?
A typical TikTok scene has three or four layers. The order in the source list matters: sources at the top cover those below them.
- Top: your Livedeck overlay as a “Browser” source, so alerts appear above everything
- Camera: a “Video Capture Device” source
- Game or screen: a window or game capture of your game, or of a Livedeck game window
- Audio: your microphone as an audio input
How do I add alerts as a browser source in OBS?
Alerts, a welcome when viewers join, the live chat, a like goal and game tiles all come from one web page: your Livedeck overlay. OBS loads it as a “Browser” source. The OBS Knowledge Base says its default custom CSS makes the background transparent, removes margins and hides the scroll bar, so only your alerts are visible.
Paste your private overlay link into the URL field and set Width and Height to your canvas; OBS's default of 800 × 600 is almost never right. Turn on “Control audio via OBS”, so the overlay's sounds appear in the audio mixer and go into the stream.
If the overlay doesn't update, open the source's properties and click “Refresh cache of current page”. Don't turn on “Shutdown source when not visible” for your main overlay, or alerts only load while that scene is visible. The overlay setup guide covers every check.
How do I capture a game for TikTok LIVE in OBS?
For a PC game, use a game capture or window capture source. For interactive Livedeck games, which your viewers control with gifts, likes and follows, the game is a browser window: you capture that window. You don't need a separate OBS link per game; the game tiles and the win counter are elements in your normal overlay.
In a portrait canvas, place the game in the middle and keep the tiles at the top or bottom, so viewers on a phone can read them.
How do I get the audio right in OBS?
Three audio sources usually matter: your microphone, the game and the overlay. Watch the levels in the audio mixer while you talk, and keep alert sounds and game audio quieter than your voice.
Sounds that play in the Livedeck dashboard rather than in the overlay play on your computer. For viewers to hear those, capture your desktop audio, or switch the sound to play in the overlay. Livedeck's media types “Jumpscare” and “Both” play the video with its sound in the overlay.
Can I switch OBS scenes from my phone?
Yes. Connect OBS to Livedeck through OBS WebSocket under Settings → Connections. Then a button in the Livedeck Pad switches the OBS program scene by its name, and another mutes an audio input such as your microphone.
A simple scene set for TikTok: “Starting”, “Live” and “Be right back”. One tap on your phone switches between them while you stay on camera.
How do I test my OBS setup before going live?
Fire a test alert in the Livedeck dashboard and watch it in the OBS preview: it should appear above the camera, and the audio meter of the browser source should move. Then record a minute with OBS and play it back to check sound and picture.
Keep the TikTok app open on your phone during the first lives, so you see what your viewers see and can read the chat.
What are common mistakes with OBS and TikTok LIVE?
Most problems come from a few settings:
- The canvas is landscape while viewers watch in portrait
- The browser source keeps OBS's default size of 800 × 600
- “Control audio via OBS” is off, so viewers don't hear alerts
- The overlay is below the camera in the source list
- The stream key is visible on stream