Why does the RTSP protocol video streaming media intelligent analysis platform EasyNVR access EasyNVS report an error when the service does not exist?

Regarding the video surveillance system of the TSINGSEE Qingxi video platform, we often talk about the EasyNVR+EasyNVS solution. Through the EasyNVR list on the EasyNVS cloud management platform and the online status and snapshots of each web camera, the client obtains the video stream data of the corresponding camera for remote operation and maintenance, and realizes live broadcast on demand, reducing network bandwidth and server pressure.

NVS.png

We found that EasyNVR configured ip to access EasyNVS in the configuration file. When accessing EasyNVS through domain name, an error "Requested service does not exist" appeared.

51.png

52.png

First of all, EasyNVS will not report an error when accessing via ip. This ruled out the reason why the service did not start successfully.

53.png

Therefore, we guess that it may be the interaction problem between EasyNVR and EasyNVS, and we start with frp.

Solve the problem:

54.png

Ip = sec.Key("ip").MustString("")
customDomains := sec.Key("custom_domains").MustString("")
port := sec.Key("port").MustUint(0)
interfacePort := sec.Key("interfacePort").MustUint(0)
iniTemp := `
[common]
server_addr = %s
server_port = %d
device_id = %s
device_name = %s
token = %s
login_fail_exit = false

[%s]
type = http
local_port = %d
custom_domains = %s,localhost,127.0.0.1,%s
locations = /nvc/%s

[%s]
type = tcp
local_ip = %s
local_port = %d
remote_port = %d

[%s]
type = tcp
local_ip = %s
local_port = %d
remote_port = %d

The query document found that custom_domains needs to be added to the domain name zhou.easynvr.com; this way, the domain name access to EasyNVS will not report an error.

55.png

EasyNVR, as a complete and stable video platform developed by TSINGSEE Qingxi Video, has the following advantages:

  • Active registration, each EasyNVR site does not need a fixed IP, you can realize the comprehensive management of all devices on the public network;
  • Unified interface, unified management, unified output, shielding various types of equipment, access problems caused by various network conditions;
  • Cloud multiplexing, cloud distribution, H5 fast start broadcast, solve the problem of the limited bandwidth of EasyNVR on-site, and solve the problem of slow start broadcast of HLS.

Welcome everyone to contact us to understand or test.

Guess you like

Origin blog.csdn.net/Black_3717/article/details/112989307