Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sunlight-w opened this issue Aug 14, 2020 · 0 comments
Open

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

sunlight-w opened this issue Aug 14, 2020 · 0 comments

Comments

@sunlight-w
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant