mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Remove srs-librtmp
This commit is contained in:
parent
f043a7eb48
commit
6dc8d9dd6f
26 changed files with 139 additions and 189 deletions
|
@ -374,6 +374,7 @@ srs_error_t SrsHybridServer::on_timer(srs_utime_t interval)
|
|||
#endif
|
||||
|
||||
string objs_desc;
|
||||
#ifdef SRS_RTC
|
||||
_srs_pps_objs_rtps->update(); _srs_pps_objs_rraw->update(); _srs_pps_objs_rfua->update(); _srs_pps_objs_rbuf->update(); _srs_pps_objs_msgs->update(); _srs_pps_objs_rothers->update();
|
||||
if (_srs_pps_objs_rtps->r10s() || _srs_pps_objs_rraw->r10s() || _srs_pps_objs_rfua->r10s() || _srs_pps_objs_rbuf->r10s() || _srs_pps_objs_msgs->r10s() || _srs_pps_objs_rothers->r10s()) {
|
||||
snprintf(buf, sizeof(buf), ", objs=(pkt:%d,raw:%d,fua:%d,msg:%d,oth:%d,buf:%d)",
|
||||
|
@ -381,6 +382,7 @@ srs_error_t SrsHybridServer::on_timer(srs_utime_t interval)
|
|||
_srs_pps_objs_msgs->r10s(), _srs_pps_objs_rothers->r10s(), _srs_pps_objs_rbuf->r10s());
|
||||
objs_desc = buf;
|
||||
}
|
||||
#endif
|
||||
|
||||
srs_trace("Hybrid cpu=%.2f%%,%dMB%s%s%s%s%s%s%s%s%s%s%s",
|
||||
u->percent * 100, memory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue