diff --git a/handler/tool.go b/handler/tool.go index 9fc83f5..7197e7a 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -165,7 +165,6 @@ 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() {