Showing
1 changed file
with
1 additions
and
0 deletions
@@ -90,6 +90,7 @@ | @@ -90,6 +90,7 @@ | ||
90 | 90 | ||
91 | const { getResult } = useFingerprint(); | 91 | const { getResult } = useFingerprint(); |
92 | const beforeVideoPlay = async (record: CameraRecordItem) => { | 92 | const beforeVideoPlay = async (record: CameraRecordItem) => { |
93 | + if (!record.accessMode) return; | ||
93 | const { url, type } = await getPlayUrl(record); | 94 | const { url, type } = await getPlayUrl(record); |
94 | record.playSourceUrl = url; | 95 | record.playSourceUrl = url; |
95 | record.streamType = type; | 96 | record.streamType = type; |