From 31fddec77288cd10e43fbcf62537eee7595b7904 Mon Sep 17 00:00:00 2001 From: lijun Date: Tue, 14 Jan 2025 20:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9A=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/tool.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/tool.go b/service/tool.go index 01776cc..91c4658 100644 --- a/service/tool.go +++ b/service/tool.go @@ -129,6 +129,9 @@ func GetVideoStream(id int) { DeviceIsStop[id] = true break } + if DeviceIsStop[id] == false { + break + } //设置设备控制信息 status := Get(device.Control) DeviceIsStop[id] = false