使用v3获取当前帧

This commit is contained in:
lijun 2025-01-20 18:14:33 +08:00
parent b155ce2c1d
commit 90e64920c7
1 changed files with 4 additions and 0 deletions

View File

@ -242,6 +242,10 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) {
break break
} }
c = count c = count
err5 := img.Close()
if err5 != nil {
log.Printf("img close err:%v", err)
}
} }
} else { } else {
//每秒发送一次心跳检测 //每秒发送一次心跳检测