How to Stream Screen and Webcam Simultaneously
In this article
Yes—you can broadcast both your computer screen and your webcam at the same time using free software such as OBS Studio, and the process only requires a few minutes of setup.
What You’ll Need
- A Windows, macOS, or Linux computer capable of running OBS Studio.
- A webcam that is recognized by the operating system.
- An internet connection fast enough for the resolution and bitrate you plan to stream.
- A streaming platform account (YouTube Live, Twitch, Facebook Live, etc.) with a stream key.
- OBS Studio (download from obsproject.com) – the software is free and open‑source.
Step‑by‑Step
- Install OBS Studio. Run the installer, accept the license, and let the program create default settings. When the installer asks whether to launch OBS after installation, keep the box checked.
- Configure your video capture device. In OBS, click the + button under the Sources box and choose Video Capture Device. Name the source (e.g., "Webcam") and click OK. In the properties window, select your webcam from the Device dropdown. Adjust Resolution/FPS to match your desired webcam output (commonly 1280×720 at 30 fps). Click OK**.
- Add a display capture source. Click the + button again and choose Display Capture. Name it (e.g., "Screen") and click OK. Choose the monitor you want to broadcast if you have multiple displays. Keep the default capture method unless you notice performance issues, then you can switch to "Windows 10 (1903 and later)" or "XSHM" on Linux. Click OK**.
- Arrange the sources. In the preview window, drag the webcam source to a corner of the screen. Use the red bounding box to resize it; a typical size is 320×240 pixels for a picture‑in‑picture effect. Ensure the webcam source sits above the display capture in the source list so it appears on top.
- Set up audio. OBS automatically adds a Desktop Audio** source that captures system sound. If you also want your microphone, click the + button under Sources** and select Audio Input Capture**. Choose your mic from the device list and click OK**. Test levels in the mixer panel; keep the microphone below 0 dB to avoid clipping.
- Configure streaming settings. Open Settings** (bottom‑right) → Stream**. Choose your streaming service from the Service** dropdown, paste the stream key you obtained from your platform, and click OK**. Then go to Output** → Streaming**. Set Encoder** to “x264” or a hardware encoder (NVENC, AMD) if available. For 1080p at 30 fps, a bitrate of 4500–6000 kbps is typical; adjust based on your internet upload speed (keep it under 80 % of your upload capacity).
- Set the canvas size. In Settings** → Video**, set Base (Canvas) Resolution** to your monitor’s native resolution (e.g., 1920×1080). Set Output (Scaled) Resolution** to the resolution you will stream (often the same as the base). Choose a Common FPS Values** of 30.
- Test the preview. Click Start Recording** (not streaming) to create a short local file. Play it back to verify that the webcam appears where you want it, audio levels are balanced, and the video is smooth. If the recording is choppy, lower the output resolution or bitrate.
- Go live. When you’re satisfied, click Start Streaming**. OBS will connect to the platform and begin sending the combined video feed. Keep an eye on the OBS status bar for dropped frames or encoding warnings.
- End the stream safely. When finished, click Stop Streaming** first, then Stop Recording** if you were also recording. Close OBS or keep it open for the next broadcast.
Common Mistakes
- Choosing the wrong webcam device – many laptops list both an internal camera and a virtual camera; verify the correct one in the source properties.
- Placing the webcam source below the screen source – the webcam will be hidden if it’s lower in the source stack.
- Using a bitrate higher than your upload speed – this causes buffering or a “connection lost” message on the streaming platform.
- Neglecting to mute desktop audio when playing a video you don’t want viewers to hear – use the speaker icon in the mixer to mute temporarily.
- Running OBS on battery power only – power‑saving modes can throttle CPU, leading to dropped frames.
Tips
- Save your layout as a Scene Collection** so you can switch between “Gaming”, “Tutorial”, or “Interview” setups with one click.
- Use the Hotkeys** tab in Settings to assign keyboard shortcuts for “Start Streaming”, “Toggle Webcam”, or “Mute Mic”.
- If you have a dual‑monitor setup, place the screen capture on the primary monitor and keep the webcam window on the secondary; this reduces the chance of accidentally capturing the OBS interface.
- Enable Performance Mode** (right‑click the preview) to hide the preview while streaming; this reduces GPU load.
- Consider adding a Color Correction** filter to the webcam source to improve lighting without external software.
Troubleshooting
If the stream is black or the webcam doesn’t appear: Close OBS, unplug the webcam, wait a few seconds, plug it back in, and reopen OBS. Re‑add the Video Capture Device source if needed.
If you see “Failed to connect” or “Authentication error”: Double‑check that the stream key matches exactly what the platform provides. Some platforms require you to regenerate the key after a failed attempt.
If OBS shows “Dropped Frames” or “Encoding lag”: Lower the Output (Scaled) Resolution** or reduce the Bitrate**. Switching from software (x264) to a hardware encoder (NVENC) can also relieve CPU pressure.
If audio is out of sync with video: In Settings → Audio, enable “Sync Offset” for the microphone or desktop audio and experiment with values between -200 ms and +200 ms.
If the webcam appears pixelated: Verify that the webcam’s native resolution is selected in the source properties. Some webcams default to 640×480; raise it to 1280×720 or higher if supported.
If the stream freezes for viewers but looks fine locally: Test your upload speed with a speed‑test site. If your measured upload is lower than the bitrate you set, reduce the bitrate or switch to a lower resolution.
Last‑resort step: Uninstall OBS, delete the configuration folder (usually %appdata%\obs-studio on Windows or ~/Library/Application Support/obs-studio on macOS), reinstall the latest version, and recreate your scene. This will erase custom profiles, so back them up if needed.
Frequently Asked Questions
Can I stream on a Mac without Windows?
Yes. OBS Studio runs natively on macOS, and the same steps for adding a Display Capture and Video Capture Device apply.
Do I need a separate capture card to stream my screen?
No. OBS captures the screen directly from the operating system, so a capture card is only required for external consoles or cameras.
Will my viewers see the OBS interface?
Only if the OBS window is inside the area captured by the Display Capture source. Keep the OBS program off‑screen or use Performance Mode to hide the preview.
Can I stream both webcam and screen on mobile?
OBS Studio does not have an official mobile version. For smartphones, use the platform’s built‑in “Go Live” feature, which typically supports only one video source at a time.
Is it possible to add a second webcam?
Yes. Add another Video Capture Device source and position it wherever you like. Just be aware that each additional video source adds CPU/GPU load.
What if my internet drops mid‑stream?
OBS will automatically attempt to reconnect. You can set the reconnection attempts under Settings → Advanced → “Automatically reconnect”. If the connection fails, stop the stream, wait for the network to stabilize, then start again.