在 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)
在 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)