修复门禁视频无法查看的问题

This commit is contained in:
15683799673
2025-08-29 22:30:15 +08:00
parent 204520f21a
commit 9fef59d455

View File

@@ -162,12 +162,11 @@ function streamProxy(nodeData: any, cb: Function) {
pwd: nodeData.devicePwd,
channelId: nodeData.channelNo,
};
if (isSupportH265) {
addStreamProxy(params).then((res) => cb(res));
} else {
addFFmpegStreamProxy(params).then((res) => cb(res));
}
}
if (isSupportH265) {
addStreamProxy(params).then((res) => cb(res));
} else {
addStreamProxy(params).then((res) => cb(res));
}
}