> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt
> Use this file to discover all available pages before exploring further.

# RTSP Video Reader

Developers can stream live camera into a Lens by connecting a *RTSP Video Reader* data connector to the [input data stream](/core-concepts/introduction/introduction#lens-data-streams) of a Lens.

Prior to streaming live video to a lens, a developer should first setup their RTSP camera and be aware of the RTSP URL needed to access the camera. This can be done via the RTSP third-party software and not via the Archetype platform.

Like all data stream connectors, the RTSP Video Reader can be identified and configured via the following *stream type* and *stream config*:

```
stream_type: rtsp_video_reader
stream_config:
  rtsp_url: "your_rtsp_camera_url"
```

This can be passed to Newton as an [event](/core-concepts/streams/events/overview):

```
event:
  type: input_stream.set
  event_data:
    stream_type: rtsp_video_reader
    stream_config:
      rtsp_url: "your_rtsp_camera_url"
```

# Parameters

You can pass the following parameters to the RTSP Video Reader via the stream\_config.

| Parameter              | Description                                                                                                                                                                                                                                                            | Required |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `rtsp_url`             | The URL of the RTSP stream.                                                                                                                                                                                                                                            | Yes      |
| `target_image_size`    | An array containing the width and height in pixels that the video should be resized to, which can help reduce the amount of data streamed through the platform and increase inference speed. Skipping this parameter will result in the default video size being used. | No       |
| `target_frame_rate_hz` | The speed in frames per second at which the video stream should be read. Skipping this parameter will result in the default video sample rate being used.                                                                                                              | No       |
