fix: 修复无信号状态同步与采集管线阻塞

- 使用非阻塞 V4L2 句柄并类型化采集错误
- 完善视频管线生命周期,避免复用停止中的管线
- 区分音视频事件并支持 REST/WebSocket 状态快照
- 修复信号丢失后保留最后一帧及刷新后黑屏问题
- 优化无信号提示、状态展示优先级及相关界面细节
- 降低重复 OTG 错误日志级别
This commit is contained in:
mofeng-git
2026-07-30 22:43:59 +08:00
parent ce1712ff2e
commit 6fdcf5c7c9
24 changed files with 406 additions and 165 deletions

View File

@@ -303,7 +303,7 @@ export default {
signal: {
noSignal: {
title: 'Waiting for video signal',
detail: 'Capture device is ready, waiting for the target to output video',
detail: 'No video signal detected',
},
deviceLost: {
title: 'Video device offline',
@@ -327,7 +327,7 @@ export default {
},
reason: {
no_cable: 'HDMI cable not detected — check the cable and that the target is powered on',
no_sync: 'Unstable signal: timings could not be locked — try a lower resolution or refresh rate',
no_sync: 'No signal or unstable signal; unable to lock timing',
out_of_range: 'Resolution or refresh rate exceeds capture capability — try 1080p60 or below',
no_signal: 'Capture card is ready, waiting for a picture…',
recovering: 'Reconnecting the video device automatically',
@@ -496,8 +496,8 @@ export default {
},
settings: {
title: 'Settings',
sidebarSubtitle: 'Manage device, network and extensions',
appearance: 'Appearance',
accountSubtitle: 'Manage console login credentials and security verification',
account: 'Account',
video: 'Video',
encoder: 'Encoder',
@@ -505,6 +505,7 @@ export default {
msd: 'MSD',
atx: 'ATX',
environment: 'Environment',
networkSubtitle: 'Configure web server ports, listen addresses, and HTTPS',
network: 'Network',
hardware: 'Hardware',
system: 'System',

View File

@@ -302,7 +302,7 @@ export default {
signal: {
noSignal: {
title: '暂无视频信号',
detail: '采集卡已就绪,正在等待被控机画面',
detail: '未检测到视频信号',
},
deviceLost: {
title: '视频设备已断开',
@@ -326,7 +326,7 @@ export default {
},
reason: {
no_cable: '未检测到 HDMI 线缆,请检查连接或被控机是否已开机',
no_sync: '信号不稳定,无法锁定时序,可尝试降低被控机分辨率/刷新率',
no_sync: '无信号或信号不稳定,无法锁定时序',
out_of_range: '分辨率或刷新率超出采集卡能力,建议切换到 1080p60 以内',
no_signal: '采集卡已就绪,正在等待画面…',
recovering: '正在自动重连视频设备',
@@ -495,8 +495,8 @@ export default {
},
settings: {
title: '系统设置',
sidebarSubtitle: '管理设备、网络与扩展',
appearance: '外观',
accountSubtitle: '管理控制台登录账户与安全验证',
account: '账户',
video: '视频',
encoder: '编码器',
@@ -504,6 +504,7 @@ export default {
msd: 'MSD',
atx: 'ATX',
environment: '环境',
networkSubtitle: '配置 Web 服务端口、监听地址与 HTTPS',
network: '网络',
hardware: '硬件',
system: '系统',