mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
STAT: Refine stat for global server.
This commit is contained in:
parent
da24de5ecb
commit
4e3ea99ccd
6 changed files with 17 additions and 15 deletions
|
@ -591,7 +591,7 @@ srs_error_t SrsRtcPlayStream::start()
|
|||
// update the statistic when client discoveried.
|
||||
SrsStatistic* stat = SrsStatistic::instance();
|
||||
if ((err = stat->on_client(cid_.c_str(), req_, session_, SrsRtcConnPlay)) != srs_success) {
|
||||
return srs_error_wrap(err, "rtc: stat client");
|
||||
return srs_error_wrap(err, "rtc: stat client");
|
||||
}
|
||||
|
||||
is_started = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue