tapo-c210/how-to-connect-to-foss-NVR/README.md

34 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2023-08-24 15:51:27 +02:00
# How to connect to a NVR
Tested on: Tapo C210
2023-09-18 10:12:11 +02:00
## Introduction
### Capabilities
2024-09-14 12:07:17 +02:00
This camera is capable of transmitting its stream on the RTSP protocol on two channels: one at resolution 640x360 and another one at a higher quality, whose resolution is set in the settings (720p, 1080p, 2K).
2023-08-24 15:51:27 +02:00
It supports the `ONVIF` standard.
2023-08-28 16:39:33 +02:00
It is also possible to access the video over HTTP, but it's undocumented, unofficial and needs to be improved.
2023-09-18 10:12:11 +02:00
### Prerequisites
2023-08-28 16:39:33 +02:00
If you want to use the RTSP protocol (used also by the ONVIF), you need to create RTSP credentials. Using the official app we have to go to `Settings -> Advanced Settings -> Camera account`. We have to choose a `username` and a `password`
2023-08-24 15:51:27 +02:00
2023-09-18 10:12:11 +02:00
## Connection
### Simple RTSP stream:
2023-08-24 15:51:27 +02:00
High quality stream: `rtsp://username:password@IP_Address:554/stream1`
2023-08-24 15:53:34 +02:00
Low quality stream: `rtsp://username:password@IP_Address:554/stream2`
2023-08-24 15:51:27 +02:00
2023-09-18 10:12:11 +02:00
### ONVIF
2023-09-18 10:16:57 +02:00
`http://IP_Address:2020/onvif/device_service` and specify `username` and `password` when asked.
Using ONVIF will allow the NVR to properly configure the PTZ controls, allowing the camera to pan and tilt.
2023-08-28 16:39:33 +02:00
2023-09-18 10:12:11 +02:00
### HTTP (unofficial, needs more analysis)
2023-08-28 17:51:16 +02:00
See [this resource](https://drmnsamoliu.github.io/video.html) but I did not test it. In this way we should be able to unlock a 2K video stream.
2024-09-14 12:09:20 +02:00
## Test
You can test the RTSP stream on Linux by giving the following command: `ffplay rtsp://<user>:<pass>@<IP_Address>:554/stream1
`