Merge branch 'refs/heads/fearture-realvp'
This commit is contained in:
commit
700f9a474d
|
|
@ -261,6 +261,7 @@ func GetRealTimeImage(c *gin.Context) {
|
|||
res3, _ = json.Marshal(msg)
|
||||
}
|
||||
err2 := ws.WriteMessage(websocket.TextMessage, res3)
|
||||
worker.SetRedisWithExpire(strconv.Itoa(int(device.ID))+"_is_play", "1", time.Minute*5) //设置播放状态
|
||||
if err2 != nil {
|
||||
clientsMux.Lock()
|
||||
clients[ws] = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue