1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Eliminate unused stat code

This commit is contained in:
winlin 2021-05-14 09:06:12 +08:00
parent cd45750c9d
commit 53e20d4a37
5 changed files with 2 additions and 194 deletions

View file

@ -659,8 +659,7 @@ srs_error_t SrsRtcServer::on_timer(srs_utime_t interval)
session->switch_to_context();
string username = session->username();
srs_trace("RTC: session destroy by timeout, username=%s, summary: %s", username.c_str(),
session->stat_->summary().c_str());
srs_trace("RTC: session destroy by timeout, username=%s", username.c_str());
// Use manager to free session and notify other objects.
_srs_rtc_manager->remove(session);