What does P2P mean on a DVR or NVR?
P2P, short for peer to peer, is the setting that joins the recorder to its maker's cloud. Once it is on, the recorder keeps a connection open to the maker's servers, identified by its serial number. When you open the maker's app, the app asks the same servers where that recorder is, and the two are put in touch.
Makers name it differently. Uniview's EZCloud set-up guide (dated 26 September 2023) notes that "EZCloud may also show on your camera/NVR as My Cloud or P2P" and that the settings are the same. Hikvision recorders show it under platform access or Hik-Connect, Dahua and CP Plus recorders under P2P. In every case it is the maker's own link for the maker's own app.
Why doesn't P2P need a static IP or port forwarding?
Because nothing outside connects in. Both the recorder and the phone reach out to the maker's servers, the way a browser reaches a website, so the router needs no open port and the location's address can change or be shared among the provider's customers. That is why P2P works where DDNS and port forwarding fail.
Whether the video then flows straight between phone and recorder or through the maker's relay depends on the two networks and the maker's design, and isn't something you choose. A relayed stream can be a little slower to start; the upload speed at the location still decides how smooth it is.
How do you set up P2P on a recorder?
In outline: switch the maker's cloud service on in the recorder's network menu and wait for it to show online, then add the recorder in the maker's app by its QR code or serial number and enter the recorder's own login. Uniview's EZCloud set-up guide (dated 26 September 2023) and the "Adding by SN/QR Code" steps in Dahua's DMSS user's manual (version 1.4.0) follow that order. The guide on how to connect CCTV to mobile walks through it for each brand.
Two details decide whether it works the first time. The app wants the recorder's password or the maker's verification code, not the app account's, and a recorder already added to the installer's account must be released from it before it can join yours.
Is P2P safe for CCTV?
It is usually safer than opening a port, because nothing on the router listens to the internet. The risk moves to the account and the device. Anyone with your app login, or the recorder's password and serial number, can reach the cameras, so use a strong unique password on both, keep the recorder's firmware current, and remove old phones and former staff from the app.
There is also a dependence to accept. The link runs through the maker's service, so if that service is down, so is your remote view, and the video's path is the maker's to decide. The recorder keeps recording either way.
Can other software use a recorder's P2P link?
Generally no. P2P is built for the maker's own app and client software, so it gives you that brand's app for that brand's recorders, with its own notifications. A monitoring service, a different brand's app or a video management program usually reads the recorder another way: over RTSP, on the local network or through a link of its own.
That is the practical difference between P2P and the alternatives: P2P is a viewing route for one app, while RTSP is a standard any compatible software can read. Keep both in mind when choosing a service: one that asks for your app account works through the maker's cloud, while one that asks for the recorder's own login and channel reads the video itself.
How does GoKavach connect if it doesn't use P2P?
With its own outgoing link. GoKavach doesn't sign in to a maker's cloud account. Where the recorder has a public IP or DDNS name with the RTSP port forwarded, it reads the RTSP stream directly. Where it doesn't, which is most homes and small sites, the site connector runs on an always-on Windows 10 or 11, Mac or Linux computer at the location, finds recorders on the local network and connects out, much as P2P does, with no router changes.
The difference is what you get at the other end: live view in any browser, alerts on people, vehicles and animals in the areas and hours you set, and a WhatsApp with the picture from Starter. P2P and GoKavach can run side by side on one recorder, so the family keeps the maker's app.
How is P2P different from a VPN into the location?
A VPN puts your phone inside the location's network, as if it were plugged into the router there, so every device on that network is reachable with its local address. P2P reaches only the one recorder, through the maker's servers, and only from the maker's app.
A VPN needs something at the location to accept the connection: a router with a VPN server, which usually needs a public address, or a VPN service that both ends dial out to. It suits someone who manages the network and wants the recorder's full menu from afar. P2P suits a family or shop owner who wants live view and playback with nothing to configure. Neither one watches the cameras or tells anyone what they show; they are ways to look, not ways to be told.
Why does a recorder show P2P offline?
Usually for one of three reasons:
- No internet on the recorder. Its cable is out, or its gateway and DNS entries are wrong; check the network menu.
- The service is switched off after a reset or firmware update.
- It is bound to someone else's account, such as the installer's. It has to be removed from that account before you can add it to yours.