diff --git a/apps/web-antd/src/views/sis/acAdmin/index.vue b/apps/web-antd/src/views/sis/acAdmin/index.vue index 469f79fa..135aae00 100644 --- a/apps/web-antd/src/views/sis/acAdmin/index.vue +++ b/apps/web-antd/src/views/sis/acAdmin/index.vue @@ -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)); } }