diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index ff17617d9..7304edd06 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -432,7 +432,7 @@ rtc_server { encrypt on; # We listen multiple times at the same port, by REUSEPORT, to increase the UDP queue. # Note that you can set to 1 and increase the system UDP buffer size by net.core.rmem_max - # or just increase this to get larger UDP recv and send buffer. + # and net.core.rmem_default or just increase this to get larger UDP recv and send buffer. # default: 4 reuseport 4; } diff --git a/trunk/src/app/srs_app_rtc_conn.cpp b/trunk/src/app/srs_app_rtc_conn.cpp index 3c96e69c4..bdaa197f0 100644 --- a/trunk/src/app/srs_app_rtc_conn.cpp +++ b/trunk/src/app/srs_app_rtc_conn.cpp @@ -1719,7 +1719,8 @@ srs_error_t SrsRtcServer::cycle() pps_last = (int)((nn_msgs - nn_msgs_last) * SRS_UTIME_SECONDS / (srs_get_system_time() - time_last)); } } - srs_trace("-> RTC SEND %d by sendmmsg %d, total %" PRId64 ", pps %d/%d", pos, max_sendmmsg, nn_msgs, pps_average, pps_last); + srs_trace("-> RTC SEND %d by sendmmsg %d, total %" PRId64 ", pps %d/%d, sessions %d/%d", + pos, max_sendmmsg, nn_msgs, pps_average, pps_last, (int)map_username_session.size(), (int)map_id_session.size()); nn_msgs_last = nn_msgs; time_last = srs_get_system_time(); } }