# How to share webcam from inside OBS

{% hint style="warning" %}
This guide works for OBS Studio v27.1.3, but some users have had issues with v27.2.
{% endhint %}

By default, you can't select your webcam in an OBS dock or browser source. This can be changed by adding a command-line parameter to the OBS launch shortcut.

Within Windows, we can right-click the OBS launch icon or app icon, right click the "OBS Studio" option, and then click Properties. This will provide us the launch properties window.

![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FET12SdadgQszehqLO9dF%2Fimage.png?alt=media\&token=fd241db2-7a3c-4649-ba22-ecffe424722a)

We want to add `--enable-media-stream` to the Target field; we want to add this after the quotations, and not inside them. See below for an example.

![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FBNU9514f7gBBMXGsbqKo%2Fimage.png?alt=media\&token=5fa4d602-4589-483a-bcfc-12ec5c9b2505)

From there, we are good to go. We can add a dock to OBS or a browser source, and we should be able to now activate our webcam source, such as the built-in OBS virtual webcam.

If we use the following VDO.Ninja URL as a dock source, we can have VDO.Ninja auto-start every time, create a new link that you can share with others. This link is setup to auto-select the OBS virtual camera and the first VB virtual audio cable, if one is available.

`https://vdo.ninja/?webcam&vd=obs&ad=virtual&autostart&cover`

![Dockable VDO.NInja, with automatic virtual webcam sharing as an option.](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FVjZHxUP5TU0ihpPasjls%2Fimage.png?alt=media\&token=54471004-8c13-43b2-9892-ee638a9a7e4a)

![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FPbqXJjxrwC3v5Ii7EelZ%2Fimage.png?alt=media\&token=7cf832b9-18f9-4148-8cab-0ad968f3aa4b)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vdo.ninja/guides/share-webcam-from-inside-obs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
