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:
parent
45834b805b
commit
98c29a1494
2 changed files with 11 additions and 5 deletions
|
@ -65,6 +65,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue