mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-26 07:17:02 +08:00
improved frame timing & added meta files
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user