見出し画像

Video edge AI in real time from anywhere with NAT traversal and WebRTC

EDGEMATRIX service is a video edge AI platform that enables video data analysis at the site by equipping AI on devices such as cameras and sensors. This service allows you to watch surveillance camera footage in real time from anywhere via the Internet, using technologies called NAT traversal and WebRTC. This article explains the mechanism and benefits of NAT traversal and WebRTC.

What is NAT traversal?

NAT stands for network address translation, which is a function that assigns global IP addresses to devices in a private network. NAT has the advantage of preventing IP address exhaustion even if the number of devices connected to the Internet increases. However, NAT also has the disadvantage that the addresses converted by NAT cannot be accessed directly from the outside. This means that you cannot view or control devices such as cameras in a private network from the Internet.

Therefore, you need something called NAT traversal. NAT traversal is a function that allows you to access devices in a private network from the Internet. There are methods to achieve NAT traversal, such as port forwarding and UPnP, but they require router settings and have security issues. EDGEMATRIX service uses a technology called WebRTC to provide NAT traversal safely.

What is WebRTC?

WebRTC stands for Web Real-Time Communication, which is a technology that enables real-time communication on web browsers and mobile apps. WebRTC not only allows you to send and receive large amounts of data such as video and audio in real time, but also has a mechanism that allows an unspecified number of people to send and receive files and other data. WebRTC is an open standard, and there are no monetary barriers such as licenses, so anyone can use this technology.

How WebRTC works

The basic communication method of WebRTC is P2P (Peer To Peer). P2P is a method that allows devices to communicate directly without going through a server.
P2P has the advantage of high real-time performance, as data is sent and received directly, and large data can be sent and received at the original size. However, in P2P, there may be cases where communication is not possible due to network constraints such as NAT and firewall. Therefore, WebRTC uses servers called STUN and TURN to perform NAT traversal and firewall traversal.

A STUN server is a server that tells you your IP address as seen from an external network. By telling this address to the other party, you try to establish P2P communication. A TURN server is a server that acts as a relay server and performs data transmission and reception when P2P communication is not possible. TURN server has the disadvantage of increasing the amount of communication, but it has the advantage of being able to communicate in almost any network environment.

Benefits of WebRTC

WebRTC has the following benefits.

- Security: WebRTC encrypts data and sends and receives it, reducing the risk of privacy protection and data leakage. Also, you can monitor video safely with NAT traversal and WebRTC technologies.

- Speed: WebRTC performs inference at the edge, so you can process data in real time. You can also stream high-resolution video and video. There is no delay or lag in data transmission and reception, and performance is improved.

- Low cost: WebRTC does not use the network, so you can reduce communication costs. Also, the edge AI box can be installed at a low price and can scale from small to large.

EDGEMATRIX service is a video edge AI platform that uses technologies such as NAT traversal and WebRTC to enable you to watch surveillance camera footage in real time from anywhere via the Internet. This service offers three benefits: security, speed, and low cost. EDGEMATRIX service has the potential to be utilized in various industries and scenarios. For example, you can think of factory and warehouse management, traffic and parking monitoring, smart city and smart home construction, and so on. EDGEMATRIX service can be said to be a service that opens up the future of video edge AI.

If you are interested in EDGEMATRIX service, please visit the EDGEMATRIX official website. At the EDGEMATRIX store, you can purchase various AI apps. Also, you can find the introduction and the latest information of EDGEMATRIX service here. Please try EDGEMATRIX service.