使用v3获取当前帧
This commit is contained in:
parent
90e64920c7
commit
e969fc53a2
|
|
@ -245,6 +245,10 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, device_id int) {
|
|||
err5 := img.Close()
|
||||
if err5 != nil {
|
||||
log.Printf("img close err:%v", err)
|
||||
} else {
|
||||
if c%10 == 0 {
|
||||
log.Printf("device:%d send frame count:%d,img is closed", device_id, c)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue