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

support hls republish

This commit is contained in:
winlin 2014-03-21 17:10:24 +08:00
parent f25c6558a5
commit 5758551508
3 changed files with 54 additions and 6 deletions

View file

@ -41,6 +41,7 @@ void srs_update_system_time_ms()
gettimeofday(&now, NULL);
// @see: https://github.com/winlinvip/simple-rtmp-server/issues/35
// we must convert the tv_sec/tv_usec to int64_t.
_srs_system_time_us_cache = ((int64_t)now.tv_sec) * 1000 * 1000 + (int64_t)now.tv_usec;