mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Cache the RTP payload objects
This commit is contained in:
parent
4d0863468a
commit
fc4d7080c6
4 changed files with 38 additions and 19 deletions
|
@ -286,6 +286,8 @@ srs_error_t SrsRtcServer::initialize()
|
|||
|
||||
bool rtp_cache = _srs_config->get_rtc_server_rtp_cache();
|
||||
_srs_rtp_cache->set_enabled(rtp_cache);
|
||||
_srs_rtp_raw_cache->set_enabled(rtp_cache);
|
||||
_srs_rtp_fua_cache->set_enabled(rtp_cache);
|
||||
|
||||
bool rtp_msg_cache = _srs_config->get_rtc_server_rtp_msg_cache();
|
||||
_srs_rtp_msg_cache->set_enabled(rtp_msg_cache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue