Skip to content

Commit

Permalink
stat数据不需要序列化
Browse files Browse the repository at this point in the history
  • Loading branch information
BerryCol committed Dec 9, 2020
1 parent 23184a9 commit 40f9818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40f9818

Please sign in to comment.