How to Set Up OBS for YouTube Live Streaming
Learn how to configure OBS for YouTube Live, add camera and audio capture sources, apply stream settings, and check your live output.
Before you start
Setting up OBS for YouTube Live is a local process on your computer, but the stream itself is sent to YouTube through the platform's live streaming service. You need OBS installed, a YouTube channel with live streaming enabled, and at least one capture source such as a webcam, capture card, or microphone. Check that the camera and microphone are connected before opening OBS so they are available as sources.
If you are using a camera or microphone that connects through USB, connect it directly to the computer where OBS will run. Keep the connection stable during the stream and avoid moving the device or changing its USB port. For a capture card, install any required driver before adding the device in OBS.
Step-by-step instructions
Start in OBS because the stream key and server address from YouTube are entered into OBS settings. The general order is to create the YouTube broadcast, copy its connection details, select those details in OBS, and then start the stream.
- 1. Open YouTube Studio and create a live stream.
- 2. Copy the stream key and the stream URL shown for that broadcast.
- 3. Open OBS and go to Settings, then Stream.
- 4. Set the service to YouTube or YouTube RTMP, depending on the available option.
- 5. Paste the stream key into the stream key field.
- 6. Close Settings and check the preview.
If your OBS version does not show YouTube as a service option, choose Custom or RTMP and enter the stream URL separately. Different OBS versions group these fields differently, so the exact names may vary, but the stream key is always entered in the stream settings.
Add camera and audio sources
Use the Sources panel to add the video and audio entering your scene. A source can be a webcam, capture card, display capture, window capture, or image, depending on what should appear in the stream.
Add a video capture device for a webcam or capture card, then select the correct device from the dropdown. Add an audio input capture if the microphone is not part of the video source. Keep one active source as the main scene item and remove or hide test sources before going live.
Adjust stream settings
Stream settings control how OBS encodes and sends video. In Output settings, check the selected encoder and the video bitrate. In Video settings, check the base and output resolutions and the frame rate. Start with conservative values that match your machine's performance, and change only one setting at a time if the stream is unstable.
The recording format is separate from the stream output. If you also record locally, choose a format that suits your editing software, such as MP4 or MKV. A local recording does not change what viewers receive, but it can add load to the computer.
Check the output
Before making the broadcast public, check that OBS shows a stable preview with the intended camera view and that the audio meters move when you speak. Start the stream in OBS, then open the YouTube live control room and confirm that the broadcast is receiving the feed. If the preview appears in YouTube, the connection settings are working.
Quality and format limitations depend on your encoder, internet upload speed, and computer load. OBS reports dropped frames and encoding load in its status bar. High dropped frames often point to an upload or bitrate problem, while high encoding load can mean the selected encoder or video settings are too heavy for the computer.
Common problems and next steps
If the YouTube live control room shows no feed, re-check that the stream key belongs to the current broadcast and that it was pasted without extra spaces or line breaks. Stream keys are specific to a broadcast or reusable key setting, so a key from another event will not work.
For a black video preview, select the capture source and check that the correct camera is chosen. Close other applications that may be using the same camera, because many cameras can be claimed by only one program at a time. For one program at a time. If the camera works in OBS but fails at a different resolution, change the source's resolution or frame rate to a supported mode.
If audio is silent, verify that the active audio source is not muted in the OBS Audio Mixer and that the microphone is not disabled. In Settings under Audio, confirm the expected device is selected. If the audio is delayed relative to the picture, add a sync offset to the affected source rather than moving the whole stream.
After the first successful connection, save a reusable profile in OBS so the scene and settings remain available for the next broadcast. Only the YouTube stream key and broadcast details need to be checked again when you create a new live event.