| | |
| | | RtspServrPort int `json:"rtspservrport"` //RTSP服务的端口 |
| | | HTTPClientIP string `json:"httpclientip"` //HTTP客户端的ip(用于报警通知,一般不设置) |
| | | HTTPClientPort int `json:"httpclientport"` //HTTP客户端的端口(用于报警通知,一般不设置) |
| | | RegisterAuth bool `json:"registerauth"` //是否启用注册鉴权 默认启用 |
| | | Md5Auth bool `json:"md5auth"` //是否启用MD5鉴权 默认启用 |
| | | DbAuth bool `json:"dbauth"` //是否启用数据库鉴权 默认不启用 |
| | | GbUsername string `json:"gbusername"` //国标鉴权用户名 |
| | | GbPasswd string `json:"gbpasswd"` //国标鉴权密码 |
| | | NatIP string `json:"natip"` //穿网ip |
| | | TotalDevNum string `json:"totalnum"` //所有设备总数 |
| | | AliveDevNum string `json:"onlinenum"` //在线设备总数 |
| | | Version string `json:"version"` //国标软件版本 |
| | | } |
| | | |
| | | //{"errcode":0,"errdesc":"OK","name":"贝思科国标服务","ipaddr":"172.16.50.51","httpserverport":8060, |
| | | // "publicid":"44120000002000000013","gbserverport":7060,"rtspservrport":7554,"httpclientip":"", |
| | | // "httpclientport":0,"registerauth":true,"md5auth":true,"dbauth":false,"gbusername":"44120000002000000013", |
| | | // "gbpasswd":"123456","natip":"","totalnum":438,"onlinenum":425,"version":"v2.7.1.20191022"} |
| | | |
| | | //GbResult 返回值信息 |
| | | type GbResult struct { |
| | | ErrCode int `json:"errcode"` |