mirror of
https://github.com/gowvp/gb28181.git
synced 2025-09-26 19:41:19 +08:00
update readme
This commit is contained in:
@@ -16,9 +16,7 @@ go wvp 是 Go 语言实现的开源 GB28181 解决方案,基于 GB28181-2022
|
|||||||
|
|
||||||
+ [在线演示平台 :)](http://gowvp.golang.space:15123/)
|
+ [在线演示平台 :)](http://gowvp.golang.space:15123/)
|
||||||
|
|
||||||
|

|
||||||
|||
|
|
||||||
|-|-|
|
|
||||||
|
|
||||||
## 应用场景:
|
## 应用场景:
|
||||||
+ 支持浏览器无插件播放摄像头视频。
|
+ 支持浏览器无插件播放摄像头视频。
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 33 KiB |
BIN
docs/demo/play.gif
Normal file
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 |
@@ -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
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user