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

Timer: Refine the hour glass, support stop

This commit is contained in:
winlin 2021-02-09 11:54:08 +08:00
parent 4a37fe30c7
commit f9bd84109b
2 changed files with 11 additions and 5 deletions

View file

@ -60,6 +60,11 @@ srs_error_t SrsHourGlass::start()
return err;
}
void SrsHourGlass::stop()
{
trd->stop();
}
srs_error_t SrsHourGlass::tick(srs_utime_t interval)
{
return tick(0, interval);