From 75d8492618143078139d5f7a9dc2b4a8f2e18a6c Mon Sep 17 00:00:00 2001 From: lijun Date: Wed, 15 Jan 2025 23:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA=EF=BC=8C?= =?UTF-8?q?=E7=A9=BA=E6=8C=87=E9=92=88=E5=AF=BC=E8=87=B4=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=87=BA=E9=94=99-=E6=B5=8B=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/tool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/tool.go b/handler/tool.go index b9820d5..4b52c6a 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -165,6 +165,7 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) { for { //从service获取当前帧 img, c := service.GetDeviceCurrentFrame(device_id) + c = count if c != count { //将img转[]byte if img.Empty() {