mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-26 18:00:25 +08:00
升级日志系统
This commit is contained in:
@@ -3,7 +3,7 @@ package config
|
||||
type Publish struct {
|
||||
PubAudio bool
|
||||
PubVideo bool
|
||||
KillExit bool // 是否踢掉已经存在的发布者
|
||||
KickExsit bool // 是否踢掉已经存在的发布者
|
||||
PublishTimeout Second // 发布无数据超时
|
||||
WaitCloseTimeout Second // 延迟自动关闭(无订阅时)
|
||||
}
|
||||
@@ -36,10 +36,6 @@ type Engine struct {
|
||||
EnableFLV bool //开启FLV格式,hdl协议使用
|
||||
}
|
||||
|
||||
func (g *Engine) Update(override Config) {
|
||||
override.Unmarshal(g)
|
||||
}
|
||||
|
||||
var Global = &Engine{
|
||||
Publish{true, true, false, 10, 10},
|
||||
Subscribe{true, true, false, 10},
|
||||
|
||||
Reference in New Issue
Block a user