mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Support RTP packet cache manager
This commit is contained in:
parent
bde86a2b23
commit
86f43d4f72
6 changed files with 229 additions and 20 deletions
|
@ -283,7 +283,10 @@ srs_error_t SrsRtcServer::initialize()
|
|||
return srs_error_wrap(err, "black hole");
|
||||
}
|
||||
|
||||
srs_trace("RTC server init ok");
|
||||
bool rtp_cache = _srs_config->get_rtc_server_rtp_cache();
|
||||
_srs_rtp_cache->set_enabled(rtp_cache);
|
||||
|
||||
srs_trace("RTC server init ok, rtp_cache=%d", rtp_cache);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue