Compare commits
No commits in common. "700f9a474d873fc22f5688861c4f5374593f17b1" and "15b655f6e5e9b2637bd58d164b93b0ee14f0b208" have entirely different histories.
700f9a474d
...
15b655f6e5
|
|
@ -261,7 +261,6 @@ 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