Commit 475e08622515c978d3d230d1df419b54b273ee02

Authored by ww
1 parent d41e7649

perf: 修复视频分屏模式无数据时会发送无效请求

... ... @@ -90,6 +90,7 @@
90 90
91 91 const { getResult } = useFingerprint();
92 92 const beforeVideoPlay = async (record: CameraRecordItem) => {
  93 + if (!record.accessMode) return;
93 94 const { url, type } = await getPlayUrl(record);
94 95 record.playSourceUrl = url;
95 96 record.streamType = type;
... ...