}
}()
- if serAdress, ok := t.K_v.LoadV("Web服务地址").(string); ok {
+ t.SerF = new(web.WebPath)
+ t.Stream_url = &url.URL{}
+
+ if serAdress, ok := t.K_v.LoadV("Web服务地址").(string); ok && serAdress != "" {
serUrl, e := url.Parse("http://" + serAdress)
if e != nil {
panic(e)
}
- t.SerF = new(web.WebPath)
-
web.NewSyncMap(&http.Server{
Addr: serUrl.Host,
}, t.SerF)
"仅保存当前直播间流-help": "启用此项,才会保存Ass",
"仅保存当前直播间流": true,
"修改标题时重新录制": true,
+ "Web服务地址-help":"填写本程序各组件所用的服务地址 例0.0.0.0:10000 为空时不启动Web服务",
"Web服务地址":"0.0.0.0:10000",
"直播Web服务路径":"/web/",
"直播Web可以发送弹幕":true,