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

[BUG] 设备离线后通道未离线 #1417

Open
xiaoQQya opened this issue Apr 16, 2024 · 2 comments
Open

[BUG] 设备离线后通道未离线 #1417

xiaoQQya opened this issue Apr 16, 2024 · 2 comments

Comments

@xiaoQQya
Copy link
Contributor

环境信息:

    1. 部署方式 docker 部署
    1. 部署环境 centos
    1. 端口开放情况 全开放
    1. 是否是公网部署 是
    1. 是否使用https 是
    1. 方便的话提供下使用的设备品牌或平台 海康大华
    1. 你做过哪些尝试 查看源码
    1. 代码更新时间 2024/04/16 3cd3e97

描述错误

问题与 #1406 相似。
设备离线后,wvp 通道状态仍显示为在线,上级平台通道显示在线无法播放。
查看 wvp 源码发现设备离线时并未对通道状态进行处理,请问此处是专门设计还是存在问题。另外,wvp 收到目录订阅消息后似乎没有通知上级平台。

如何复现

  1. 设备正常接入到 wvp 平台;
  2. wvp 平台作为下级将设备级联到上级平台;
  3. 在设备侧将设备离线;
  4. wvp 设备显示离线,但通道仍显示在线;
  5. 上级平台通道显示在线无法播放;

截图

image
image

抓包文件

日志

@artosynTec
Copy link

我看到这块的代码也是一头雾水,不太明白是什么意思

@xiaoQQya
Copy link
Contributor Author

我看到这块的代码也是一头雾水,不太明白是什么意思

不确定此处作者这么设计,是不是有特殊用途

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

2 participants