diff --git a/handler/tool.go b/handler/tool.go index 6c71e8c..f861093 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -182,7 +182,7 @@ func GetRealTimeImage(c *gin.Context) { log.Printf("device_id:%d is not getting or not exist", deviceIdInt) return } - subscribeAndHandleMessagesV3(ws, deviceIdInt) + subscribeAndHandleMessagesV5(ws, deviceIdInt) } func subscribeAndHandleMessagesV5(ws *websocket.Conn, deviceId int) {