GB28181 / VAG.Node

GB28181 PS流转发网关服务<Node 版>,以GB28181对接的方式将摄像机/硬盘录像机 的PS流(H264/H265)打包推送到RTMP服务器。
MIT License
56 stars 34 forks source link

不同系统返回值不相同? #2

Open sunlight-w opened 4 years ago

sunlight-w commented 4 years ago

在 win 下调用接口 获取设备/通道列表 和 实时预览 都是正常的,返回对应的设备信息 和 ssrc 为什么在 centos 7 上面 再请求上述的接口时,获取设备/通道列表接口返回数据不完整,只有 ip 地址和端口信息...实时预览接口报错,错误信息如下(node 版本 v10.15.3 ) TypeError: Cannot read property 'devicelist' of undefined at Object.realplay (/code/VAG.Node/api/controllers/vag.js:24:39) at Layer.handle [as handle_request] (/code/VAG.Node/node_modules/express/lib/router/layer.js:95:5) at next (/code/VAG.Node/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/code/VAG.Node/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/code/VAG.Node/node_modules/express/lib/router/layer.js:95:5) at /code/VAG.Node/node_modules/express/lib/router/index.js:281:22 at param (/code/VAG.Node/node_modules/express/lib/router/index.js:354:14) at param (/code/VAG.Node/node_modules/express/lib/router/index.js:365:14) at param (/code/VAG.Node/node_modules/express/lib/router/index.js:365:14) at param (/code/VAG.Node/node_modules/express/lib/router/index.js:365:14)