日志输出,空指针导致程序出错-测试获取帧

This commit is contained in:
lijun 2025-01-16 00:01:22 +08:00
parent dea8f6e113
commit aa898671de
1 changed files with 0 additions and 1 deletions

View File

@ -165,7 +165,6 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) {
for { for {
//从service获取当前帧 //从service获取当前帧
img, c := service.GetDeviceCurrentFrame(device_id) img, c := service.GetDeviceCurrentFrame(device_id)
c = count
if c != count { if c != count {
//将img转[]byte //将img转[]byte
if img.Empty() { if img.Empty() {