Browse Source

stat数据不需要序列化

pull/142/head
BerryCol 5 years ago
parent
commit
40f981861f
  1. 4
      protocol/api/api.go

4
protocol/api/api.go

@ -195,8 +195,8 @@ func (server *Server) GetLiveStatics(w http.ResponseWriter, req *http.Request) {
return true return true
}) })
resp, _ := json.Marshal(msgs) //resp, _ := json.Marshal(msgs)
res.Data = resp res.Data = msgs
} }
//http://127.0.0.1:8090/control/pull?&oper=start&app=live&name=123456&url=rtmp://192.168.16.136/live/123456 //http://127.0.0.1:8090/control/pull?&oper=start&app=live&name=123456&url=rtmp://192.168.16.136/live/123456

Loading…
Cancel
Save