Browse Source

Merge pull request #142 from BerryCol/master

stat返回的数据被序列化了,无法看,这里不需要序列化
pull/154/head
Matthew 4 years ago committed by GitHub
parent
commit
dfd261213b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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) { @@ -195,8 +195,8 @@ func (server *Server) GetLiveStatics(w http.ResponseWriter, req *http.Request) {
return true
})
resp, _ := json.Marshal(msgs)
res.Data = resp
//resp, _ := json.Marshal(msgs)
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

Loading…
Cancel
Save