1
0
Fork 0
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:
winlin 2014-04-17 17:35:21 +08:00
parent 6f19a83114
commit 2d1c28cff9
7 changed files with 230 additions and 23 deletions

View file

@ -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;
}