# Video lag grows over time

Video lag that goes over time typically hints at a CPU being overloaded; it might not be able to handle the capture resolution or the load required to encode video for several viewers at once.

\
Some users report this issue happens when using the Streamlabs Virtual Camera, but not when using their webcam or screen share. For others, it might commonly happen if using an older laptop, like an Intel-based Apple MacBook, where they thermal throttle performance after a short while.

## Solutions:

### Reduce quality

Using `&quality=2` and a reduced bitrate by viewers can lower the load

### Meshcast

Using Meshcast (\&meshcast) or self-hosting your own MediaMTX server (\&mediamtx) can allow the publisher to relay their video thru a broadcast server, reducing the number of encodes on that computer to one; rather than potentially serveral

### Get a faster computer and plug-in

Laptops that run on battery power will run at reduced performance, so make sure you are plugged into the AC wall outlet. If that doesn't help, try running your apps in performance mode (rather than battery saver), and if that still doesn't work, consider getting a new computer. 8-core or faster is suggested, but it will depend on your needs.

### If the issue is only with the Streamlabs or OBS Virtual camera

Loading the virtual camera into the Electron Capture app (<https://electroncapture.app>) will give you the built-in option to full-window the virtual camera. This makes it super easy to screen share the window using VDO.Ninja, and this should bypass any performance problems caused by trying to load the virtual camera directly as a webcam source.\
\
When opening the Electron Capture app, it will auto-detect a virtual camera device, and offer you the option to full-window it.

<figure><img src="https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2FwJOXOvFkA78Eq9PqWR45%2Fimage.png?alt=media&#x26;token=a926887e-22e8-42bb-8054-2b36f189e9eb" alt=""><figcaption></figcaption></figure>

For reference, these are the devices that get auto-detected by the Electron Capture app:

```
    "OBS Virtual Camera"
    "Streamlabs Desktop Virtual Webcam"
    "vMix Video"
    "Blackmagic"
    "NDI Video
```


---

# 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/common-errors-and-known-issues/video-lag-grows-over-time.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.
