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

RTC: Only cache the UDP packet message

This commit is contained in:
winlin 2021-02-26 22:55:27 +08:00
parent c00d286344
commit 30d760f909
6 changed files with 34 additions and 11 deletions

View file

@ -286,6 +286,7 @@ srs_error_t SrsRtcServer::initialize()
bool rtp_msg_cache = _srs_config->get_rtc_server_rtp_msg_cache();
_srs_rtp_msg_cache->set_enabled(rtp_msg_cache);
_srs_rtp_msg_cache2->set_enabled(rtp_msg_cache);
srs_trace("RTC server init ok, rc=%d, rmc=%d", rtp_cache, rtp_msg_cache);