Connect your OnePlus 9 Pro to OBS Studio on Windows 11 via USB by enabling Developer Options, installing the DroidCam client and OBS plugin, and selecting the video device directly in OBS. This method provides a stable, low-latency connection without relying on network IP addresses or Wi-Fi configurations.
Prerequisites and Software Installation
Before establishing the connection, you must ensure both the Android device and the Windows computer have the necessary software components installed. The DroidCam ecosystem consists of two distinct parts: the mobile application that captures the camera feed and the desktop client that receives it. You need to install the DroidCam app from the Google Play Store on your OnePlus 9 Pro. On your Windows 11 machine, download the official DroidCam client from the official website. During installation, pay close attention to the component selection screen; you must explicitly check the box for the "OBS Studio Plugin" or "Virtual Camera Plugin." Without this specific plugin, OBS will not recognize the phone as an external video source.
Additionally, ensure that your OnePlus 9 Pro has the latest version of the DroidCam app installed. Older versions may lack compatibility with the newer Windows clients or Android security models. If you previously attempted a Wi-Fi connection, uninstall any residual configuration files to prevent conflicts. The goal is to start with a clean slate where only the USB-specific drivers and plugins are active.
Configuring OnePlus 9 Pro for USB Debugging
USB connections require explicit permission on modern Android devices to access hardware resources like the camera and microphone. By default, developer features are hidden. To enable them, open the Settings app on your OnePlus 9 Pro and navigate to About Phone. Tap the Build Number seven times rapidly until you see a message confirming that Developer Options are enabled. Return to the main Settings menu and enter the newly appeared Developer Options section. Scroll down to find the USB Debugging toggle and switch it on.
When you connect the phone to your PC via USB, a prompt will appear on the phone screen asking to allow USB debugging from this computer. Check the box for "Always allow from this computer" and tap Allow. This step is critical because it grants the Windows driver permanent access to the ADB (Android Debug Bridge) interface, which DroidCam uses to stream video data. If this prompt does not appear, try a different USB cable or port, as some cables are charge-only and do not support data transfer.
Connecting via USB in DroidCam Client
With debugging enabled and the cable connected, launch the DroidCam client on your Windows 11 desktop. Unlike Wi-Fi mode, you do not need to manually enter an IP address. The client should automatically detect the connected OnePlus 9 Pro. Look for the USB icon or a dropdown menu near the connection settings and select the USB option. If the device is not detected immediately, ensure that the DroidCam app is running on the phone and that the "USB Mode" toggle is activated within the app interface.
Once the device is recognized, the client will display the video preview from the OnePlus 9 Pro camera. Verify that the audio levels are also visible if you intend to use the phone’s microphone. Click the Connect button. The status indicator should change to green, confirming a successful handshake between the Windows driver and the Android device. At this stage, the phone is acting as a standard webcam, but OBS still needs to be configured to receive this signal.
Setting Up OBS Studio
Open OBS Studio and go to your Sources panel. Click the plus icon and select "Video Capture Device." Name the source appropriately, such as "OnePlus 9 Pro Webcam." In the properties window, look for the Device dropdown menu. Instead of selecting a generic webcam, choose "DroidCam Virtual Camera" or "DroidCam Source" depending on how the plugin registered itself during installation. If you see multiple entries, try the one labeled specifically for DroidCam to ensure you are pulling from the correct stream.
Click OK to add the source. You should now see the live feed from your OnePlus 9 Pro in the OBS preview window. Adjust the position and size of the source as needed. If the video appears black or frozen, return to the DroidCam client on Windows and verify that the connection status remains active. Sometimes, switching the camera orientation in the DroidCam app on the phone can resolve display glitches. Remember that using USB bypasses network latency, so your stream quality should remain consistent even if other devices are using bandwidth.
For more information on optimizing your streaming setup, consider reviewing
Increasing Video Quality Recording on OBS Studio. Additionally, if you encounter issues where the camera is inaccessible, check
Webcam being used by System 4, blocking usage by other apps to rule out background process conflicts.
Troubleshooting Common Issues
If the connection fails, first check the physical connection. Ensure the USB cable supports data transfer and is firmly seated in both ports. On the Windows side, open Device Manager and look under "Imaging Devices" or "Sound, video and game controllers" to see if the DroidCam virtual device is listed without error icons. If it shows a yellow warning, reinstall the DroidCam client and ensure the OBS plugin checkbox was selected.
On the Android side, ensure that no other application is accessing the camera. Apps like Zoom, Teams, or native camera apps can lock the hardware resource, preventing DroidCam from streaming. Close all unnecessary applications before attempting to reconnect. If the video is choppy, try reducing the resolution or frame rate in the DroidCam client settings on Windows. High resolutions like 1080p at 60fps can sometimes overwhelm older USB 2.0 ports, whereas USB 3.0 ports handle higher bandwidth easily.
Frequently Asked Questions
Can I use a charging-only cable for this connection?
No, you must use a data-sync USB cable. Charging-only cables lack the internal wiring required for data transmission, which prevents the DroidCam client from communicating with the phone. If your current cable does not work, try the original cable that came with your OnePlus 9 Pro or purchase a certified data cable.
Why does my video freeze after a few minutes?
This often happens if the phone enters sleep mode or if the USB power saving feature is enabled. Go into Developer Options on your OnePlus 9 Pro and disable "Stay Awake" if it is off, ensuring the screen stays on while connected. Alternatively, check your Windows Power Settings to ensure the USB port is not being suspended to save power.
Does this method work for OBS on Mac?
The DroidCam OBS plugin is primarily designed for Windows. For macOS users, you typically need to use the "DroidCam Wireless" method over Wi-Fi or use third-party virtual camera software that bridges the Android device to OBS. The USB debugging protocol described here is specific to the Windows driver architecture.
How do I switch back to Wi-Fi mode?
To switch back, simply disconnect the USB cable. In the DroidCam client on Windows, uncheck the USB option and enter the IP address displayed on your phone's DroidCam app screen. Ensure both devices are on the same local network. The IP address method relies on network stability, whereas USB provides a direct hardware link.
Is the video quality better than using the built-in laptop webcam?
Yes, the OnePlus 9 Pro features advanced multi-lens cameras with larger sensors and better low-light performance compared to most integrated laptop webcams. Using the phone as a webcam allows you to leverage these superior optics, resulting in sharper images and better color accuracy for your streams or recordings.