[SEN] 在 GoAdmin 基线上重建单路实时监看与播放状态反馈 #68
Closed
opened 2026-08-14 10:26:39 +08:00 by ila
·
3 comments
No Branch/Tag Specified
dev
feat/183-bell-contact-schedule
docs/171-coordination-e2e-wiki
feature/155-coordination-e2e
docs/168-sync-coordination-wiki
feature/154-coordination-deployment
docs/152-153-connectors
feature/153-event-evidence-connector
feature/152-brain-control
docs/151-machine-identity-acceptance
task/151-machine-identity
docs/150-contract-acceptance
docs/148-149-contract-acceptance
feature/149-runtime-status-contract
feature/150-event-evidence-contract
feature/148-source-config-contract
docs/8-mvp-acceptance
feature/145-sense-e2e-isolation-cleanup
feature/134-bell-independent-e2e
feature/142-bell-ui-shell-startup
feature/140-bell-minimal-admin-menu
feature/138-bell-production-captcha
feature/133-bell-alert-lifecycle
feature/132-bell-rule-alert
feature/131-bell-event-receipt
feature/16-brain-local-events
feature/15-brain-rules
feature/14-brain-vision
feature/13-brain-decode
feature/11-brain-input
main
feat/sense-79-ops-alerts
feat/sense-78-outbox
feat/77-sense-media-shards
feat/76-sense-edge-node-status
feat/75-sense-quota-capacity
feature/74-sense-operations
feature/73-sense-local-events
feature/72-sense-bulk-provisioning
feature/113-record-parallel-acceptance
feature/113-sync-parallel-implementation-docs
feature/71-sense-e2e-regression
feature/62-bell-goadmin-skeleton
feature/10-brain-python-cuda-skeleton
feature/108-sync-devharness
feature/90-sense-root-launcher
feature/106-supervisor-sense
fix/101-sense-layout-shell
feature/104-sense-login-30-days
docs/99-acceptance
feature/99-sense-app-config
feature/70-sense-windows-delivery
fix/95-sense-media-path-constraint
feature/97-sense-password-login
docs/92-acceptance
fix/92-sense-capabilities-jsonb
docs/69-acceptance
feature/69-sense-area
feature/68-sense-liveview
feature/67-sense-mediamtx-reconcile
feature/66-sense-onvif-admission
feature/65-sense-device-credential
feature/64-sense-auth-rbac-audit
feature/61-sense-goadmin-source-baseline
docs/acceptance-batch-20260814
coordination/58-finalize-branch-governance
explore
agent/codex/56-sense-device-edit-payload
agent/codex/54-sense-liveview-on-demand
agent/codex/51-sense-auto-liveview
agent/codex/50-sense-split-camera-credentials
agent/codex/48-sense-onvif-digest
agent/codex/46-sense-env-loader
agent/codex/44-sense-empty-navigation
agent/codex/42-sense-password-length-only
agent/codex/40-sense-password-min-6
agent/codex/37-sense-windows-package
agent/codex/36-bell-docs
agent/codex/9-bell-mvp
agent/codex/21-sense-mvp
agent/codex/28-current-prototypes
agent/codex/5-goadmin-baseline
agent/codex/3-go-admin-ui-reuse
agent/codex/1-collaboration-rules
No results found.
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ila/yovision#68
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
状态
已完成
基本信息
原始需求与追溯
explore只用于业务、测试和故障证据,不复制自研基础框架。目标
面向网管和非技术人员提供设备列表与单路实时画面,支持主/子 Profile、加载、等待拉流、失败、重连和可行动排错。
做什么
复用 go-admin-ui 页面容器、搜索、表格、分页、Tag 和 Dialog;仅为视频播放器新增业务组件;按需拉流时先建立 reader,再展示实际状态,避免循环等待。
不做什么
不一次加载全部视频;不实现多画面墙;不直接暴露 RTSP 凭据或内部路径;不修改 MediaMTX 核心进程逻辑。
GoAdmin 复用与文档门禁
src/layout/**、src/router/**、src/api/**及已有页面容器、表格、分页、Dialog、Tag。写路径
Sense/server/app/sense/liveview/**Sense/server/app/admin/router/sense_liveview.goSense/server/cmd/migrate/migration/version/*liveview*Sense/ui/src/views/sense/liveview/**Sense/ui/src/api/sense/liveview*Sense/ui/src/components/sense/video-player/**Sense/tests/liveview/**Sense/ui/tests/unit/sense/liveview*.spec.js禁止写入:
Brain/**、Bell/**、contracts/**、根级部署配置、docs/**、wiki-docs.json。如实现发现必须修改这些路径,停止并转协同工单。文档影响
更新实时监看入口、播放会话、状态含义、浏览器要求和常见错误处理。
长期文档先更新 Gitea Wiki;本地
docs/镜像由单一协调工单同步,避免共享路径冲突。验收标准
验证方式
风险与回退
浏览器协议、端口和按需拉流时序易产生假就绪。以前端 reader 和后端实际态双向验证;回退播放器页面和会话端点。
协同需求摘要
本工单不建立跨项目契约。发现 Sense→Brain 源/区域配置或 Sense/Brain→Bell 事件/证据需求时,只记录生产者、消费者、目的与建议验证,不取得共享写路径。
需求变化记录
liveview包若不注册 GoAdmin Router/Casbin 与动态菜单将无法形成可访问纵切,因此将Sense/server/app/admin/router/sense_liveview.go和Sense/server/cmd/migrate/migration/version/*liveview*纳入写路径。仍只影响 Sense,目标、接口边界、验收结果及跨项目范围不变。Sense/ui/tests/unit/sense/liveview*.spec.js精确测试写路径;不改变产品行为或跨项目范围。实施结果(2026-08-14)
dev,保持开启,等待人工验收)。c63c623;长期文档镜像提交:a279a1e;待验收归档镜像提交:c83c181。go test ./...、go vet ./...、go build ./...通过;go test -race ./app/sense/liveview通过。640×360、readyState=4、自动播放中;临时 MediaMTX/FFmpeg 进程、配置和自动证书已清理。0a15795a、Business Rulese80685e1、Local Development95be7e2a、Troubleshooting331755cb,均已读取确认并导出镜像。Task-68-Sense单路实时监看与播放状态反馈,revision9e23cebb9bf4d9f7fd0de838cba860147b96468f;sync_wiki_docs.py --check通过。验收与合并(2026-08-15)
dev,合并提交:020bf3fe5a92b91ab949629b040aec917d787581。88e542d512e472274a74e443a761217e24618941。17c1afd;Wiki 镜像一致性检查通过。main未修改。开始实施。前置 #67 已验收关闭,分支
feature/68-sense-liveview从最新dev创建,工作区初始干净。已阅读冻结 go-admin-docdocs/intro/advanced/router.md、docs/intro/advanced/api.md,以及冻结 go-admin-uisrc/layout/BasicLayout.vue、src/router/index.js、src/api/admin/sys-user.js、src/views/admin/sys-user/index.vue、src/components/Pagination/index.vue。采用 GoAdmin Router/JWT/Casbin/动态菜单、Axios、BasicLayout、Element Plus 搜索/表格/分页/Dialog/Tag;仅新增视频播放器业务组件。UI 检查采用清晰加载/错误/恢复操作、固定 16:9 空间、分页按需播放、可见焦点和组件卸载清理。待验收证据(2026-08-14)
feature/68-sense-liveview→dev),保持开启,未合并。c63c623(实现)、a279a1e(长期文档)、c83c181(任务归档镜像)。go test ./...、go vet ./...、go build ./...、go test -race ./app/sense/liveview全部通过。Task-68-Sense单路实时监看与播放状态反馈,revision9e23cebb9bf4d9f7fd0de838cba860147b96468f;镜像一致性检查通过。当前状态:待验收。
用户于 2026-08-15 验收通过。PR #86 已合入
dev(merge020bf3fe5a92b91ab949629b040aec917d787581);归档 Wiki revision88e542d512e472274a74e443a761217e24618941,镜像提交17c1afd,一致性检查通过。工单关闭;main未修改。