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