mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update dvr, support segment plan
This commit is contained in:
parent
6f19a83114
commit
2d1c28cff9
7 changed files with 230 additions and 23 deletions
|
@ -31,6 +31,10 @@ static int64_t _srs_system_time_us_cache = 0;
|
|||
|
||||
int64_t srs_get_system_time_ms()
|
||||
{
|
||||
if (_srs_system_time_us_cache <= 0) {
|
||||
srs_update_system_time_ms();
|
||||
}
|
||||
|
||||
return _srs_system_time_us_cache / 1000;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue