improved frame timing & added meta files

This commit is contained in:
Roman Arutyunyan
2012-03-20 03:52:39 +04:00
parent b9ee8dbe09
commit 1e9a7e6efc
10 changed files with 120 additions and 54 deletions

View File

@ -264,8 +264,8 @@ ngx_rtmp_get_timestamp()
tod = ngx_timeofday();
return (uint32_t)tod->sec * 1e3
+ (uint32_t)tod->msec / 1e3;
/* FIXME: divisor */
return (uint32_t)(tod->sec * 1000 + tod->msec / 1000) % 0x00ffffff;
}