update readme

This commit is contained in:
xugo
2025-03-09 17:18:10 +08:00
parent 7bd5a119dd
commit 5dfe109b28
5 changed files with 1 additions and 6 deletions

View File

@@ -16,9 +16,7 @@ go wvp 是 Go 语言实现的开源 GB28181 解决方案,基于 GB28181-2022
+ [在线演示平台 :)](http://gowvp.golang.space:15123/) + [在线演示平台 :)](http://gowvp.golang.space:15123/)
![](./docs/demo/play.gif)
|![](./docs/demo/home.webp)|![](./docs/demo/play.webp)|
|-|-|
## 应用场景: ## 应用场景:
+ 支持浏览器无插件播放摄像头视频。 + 支持浏览器无插件播放摄像头视频。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 33 KiB

BIN
docs/demo/play.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -94,9 +94,6 @@ func (s *Server) startTickerCheck() {
} }
if sub := now.Sub(value.LastKeepaliveAt); sub >= 3*60*time.Second || value.conn == nil { if sub := now.Sub(value.LastKeepaliveAt); sub >= 3*60*time.Second || value.conn == nil {
fmt.Println(now)
fmt.Println(sub)
fmt.Println(value.LastKeepaliveAt)
s.gb.logout(key, func(d *gb28181.Device) { s.gb.logout(key, func(d *gb28181.Device) {
d.IsOnline = false d.IsOnline = false
}) })