Limitations of P2P access
- There is a limit to the number of users who can access the same device online at the same time. Since the P2P penetration is successful, both the device and the client directly perform video streaming. Therefore, the number of users accessing the camera at the same time will affect the user’s viewing experience. One is because the hardware performance of the camera itself is not enough to support too many users to visit at the same time, and the other is because the number of people visiting at the same time is large, and the uplink bandwidth demand of the camera will be greater. The uplink speed of ordinary household broadband is difficult to support a large number of users to visit. . Therefore, manufacturers generally limit the number of users that can access the device at the same time. For example, the number of accesses is limited to 3, and users who exceed this number will not be able to preview in real time.
- What should I do if the penetration is unsuccessful? No P2P technology can guarantee 100% penetration success. For those that cannot successfully penetrate, we can only choose to use streaming media forwarding at this time. This method has certain requirements as a server for streaming media forwarding.
Streaming media forwarding server requirements
In streaming media forwarding services, the network bandwidth has a greater impact on the service, followed by memory and CPU.
Number CPU RAM System Remark
1 Dual core 2.4G 4G Win 2003/2008 32Bit Supports simultaneous online viewing of 500 channels.
2 Dual core 2.4G 8G Win 2003/2008 32Bit Supports simultaneous online viewing of 1000 channels.
3 Octa-core 4G 32G Win 2003/2008 32Bit Supports simultaneous online viewing of 2000 channels.
Recommended server configuration
The network bandwidth is calculated based on the number of devices accessed online in real time. If the user has no requirements for the standard definition and high definition of the viewing picture, the bit stream output of the device can be reduced to reduce bandwidth consumption.
WebRTC technology
Using WebRTC can easily achieve P2P penetration by UDP, and it perfectly supports three methods of direct connection, penetration, and forwarding, with a high success rate. But it also has its limitations. The WebRTC technology will be specifically introduced later, here is temporarily put forward.
How to troubleshoot P2P remote access failure
In actual use, when I often encounter P2P access, the display device is offline or cannot be accessed. How should we troubleshoot and solve it?
First of all, with regard to the principle that network equipment can support P2P access, we had better understand it, so that we can grasp the reasons for P2P access failure from the overall perspective and find a solution.
The entire connection process has three parts: the front-end equipment, the cloud platform server, and the back-end access client. The core problem is that the front-end equipment can achieve network penetration and send the video stream to the client. If we find that the cloud cannot be accessed, we will look for the problem and the cause from these three parts.
Device
Whether the device is properly connected to the internet. The device is connected to a switch or router through a network cable, and the router is connected to the external network.
Possible problems and troubleshooting methods:
- Whether the external network is normal and able to access the Internet. Check the network cable and the corresponding network port of the device. Whether the computer or mobile phone in the local area network can be connected to the external network.
- Whether the network parameter settings of the device are correct. Whether the IP address, subnet mask, gateway, DNS settings are consistent with the configuration in the router. Consider whether the IP addresses conflict and whether the device network segments are the same. Among them, the device’s DNS is especially the device’s DNS. Domestically, the device’s DNS in the router can be used directly. Foreign users recommend using some public DNS, such as 8.8.8.8. This makes it easy for the device to quickly connect to a nearby cloud server deployed overseas.If the router has the DHCP function enabled, you can try the device to use DHCP to automatically obtain network information.If you still cannot successfully access the cloud, you can consider modifying the default port of the device. Mainly web access port, data transmission port and RTSP streaming media port.If the device has its own network, cloud access detection function, you can use this function to detect and find the problem.After resetting or modifying the network parameters, it is generally necessary to restart the device.
- Whether the device supports the P2P cloud access function, or whether the cloud access function is enabled. In addition, whether the cloud function of the device is upgraded, you need to upgrade the new device firmware.
P2P cloud service platform in the cloud
This part has nothing to do with the user, but it is understood that we can better understand the P2P cloud function, so that we can locate the problem of unsuccessful cloud access.
After reading the above introduction, it should not be difficult to understand that the cloud service platform mainly serves as a bridge between front-end devices and back-end clients. The stability of the cloud platform, the success rate of P2P penetration, and the speed of connection will all affect the success rate and experience of users’ P2P cloud access.
Stability means considering cloud platform architecture, physical security, network bandwidth, number of servers, performance, server deployment around the world, CDN acceleration, etc.
The success rate of P2P penetration, that is, whether the P2P penetration technology used is reliable, whether the penetration rate is high, and suitable for different network environments. Are there any alternatives for unsuccessful P2P penetration? For example, when P2P penetration is unsuccessful, a manufacturer uses video stream forwarding to connect to the device, which can improve the success rate of the connection between the device and the client. (If there is an update of the P2P penetration library, the device firmware and mobile phone app should be updated in time)
The speed of connection, as mentioned earlier, changing the DNS of the device to 8.8.8.8, for foreign users, may be able to connect to the nearest cloud platform faster. The current network video surveillance manufacturers, including some that provide third-party cloud access platforms, are basically Chinese. Most P2P cloud platform servers are deployed in China. When domestic users use the P2P cloud function, they feel that the connection is faster, more stable and reliable. This is what we must consider when setting up a cloud platform. Whether to deploy servers in major countries and regions around the world, CDN acceleration, and network optimization, so that local users can access the cloud platform faster.
Client
Access terminals generally include web pages, mobile apps, and computer clients. It can support us to connect to the front-end equipment through P2P.
Generally, the possibility of problems on the client side is very low. There are several aspects that need attention:
- Update mobile apps, computer clients, and web access controls in a timely manner.
- Mobile app. Whether the mobile phone supports hardware and software video decoding, whether the mobile phone performance supports video decoding display, whether to grant the corresponding authority of the mobile app, etc.
- Whether the client is connected to the external network.
Security camera P2P platform
NO. APP Developer Serial number(For example)
1 XMeye,iCsee Xiongmaitech e3cddc089a825759
2 EseeCloud3,VR CAM,IP PRO JUAN 1589902825
3 seetong Topsee 9847002
4 Yoosee Gwell 3836362
5 IPC360 Puwell 406A8E16CF73
6 Danale Danale 44f5a7ebb1ee89853a7dcbac621b6249
7 Goolink Vnow
8 UMeye UMeye
9 p2pcamlive,P2PViewCam TUTK
10 V380 Macro video
11 NVSIP Sunywo
12 YCC365 Plus/PixPlus closeli
13 i-Cam,Ubell,Ubox uBia
14 CareCam HuiYun
15 Tosee Tocoding
16 CamHi CamHi MMMM-102311-BDCCF
17 FINDCAM Max ZScam BYWDUJWZHZNS6MVR2YZA
18 Tuya,smart life Tuya smart 6c97d7ef8fb7786972cvsg
19 YI IoT YI techonlogy
20 EZVIZ Hikvision
21 Imou life Dahua tech
Common security camera P2P platforms (including some third-party platforms)