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

RTC: Refine fast timer

This commit is contained in:
winlin 2021-05-07 18:42:36 +08:00
parent 92fc0af8f4
commit 25f17c32e9
5 changed files with 21 additions and 3 deletions

View file

@ -281,6 +281,7 @@ srs_error_t SrsRtcServer::initialize()
srs_error_t err = srs_success;
// The RTC server start a timer, do routines of RTC server.
// @see SrsRtcServer::on_timer()
_srs_hybrid->timer5s()->subscribe(this);
// Initialize the black hole.