# IP

Use IP cameras when you need longer cable runs, network distribution, or multiple camera setups. AugeLab Studio supports both **RTSP** (fast, direct stream) and **ONVIF** (device discovery + profiles; typically lower FPS).

{% hint style="info" %}
If you can open the stream in VLC (RTSP) or in the vendor tool (ONVIF), you are very close—most remaining issues are credentials, URL format, or subnet/firewall settings.
{% endhint %}

<details>

<summary>RTSP (recommended for higher FPS)</summary>

Best when you need a higher frame rate and you know the RTSP URL (typical for up to a few cameras per PC, depending on resolution and codec).

**Setup**

1. Connect the camera to your switch/router (Ethernet) and power it on (PoE or adapter).
2. Set/confirm the camera **IP address** (check the vendor tool or camera web UI).
3. Determine the **RTSP URL** (camera manual/vendor UI). Common formats look like:
   * `rtsp://<user>:<pass>@<ip>:554/stream1`
   * `rtsp://<ip>:554/h264/ch1/main/av_stream`
4. In AugeLab Studio, add the **Camera IP** block and paste the RTSP URL.
   * Block reference: [Camera IP](/function-blocks/input-output/image-inputs/camera-ip.md)

![RTSP Camera Usage](/files/VBEEl72MoBdQghQ6r3ko)

</details>

<details>

<summary>ONVIF (recommended for discovery and larger setups)</summary>

Use ONVIF if the camera supports it and you prefer device discovery / profiles. ONVIF streams may not reach the same FPS as direct RTSP (depends on camera and network).

**Setup**

1. Connect and power the camera (Ethernet + PoE/adapter).
2. Enable **ONVIF** in the camera settings (vendor UI) and set an ONVIF user if required.
3. In AugeLab Studio, add the **Camera IP (ONVIF)** block and enter:
   * Camera IP
   * Username/password
4. Start acquisition.

![ONVIF Camera Usage](/files/FquaPVywoRml24BNoCgD)

</details>

<details>

<summary>Troubleshooting (RTSP/ONVIF)</summary>

* **No connection**: verify PC and camera are on the same subnet; avoid VPN adapters; check Windows firewall.
* **RTSP connects but no image**: try a different stream path (main/sub stream) or switch codec (H.264/H.265) in the camera UI.
* **Stutter**: lower resolution/FPS/bitrate on the camera; prefer wired Ethernet; avoid Wi‑Fi.

</details>


---

# 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.augelab.com/devices-and-communications/camera-usage/ip.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.
