mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed HLS system fragment naming on 32-bit systems
This commit is contained in:
@ -627,7 +627,7 @@ ngx_rtmp_hls_get_fragment_id(ngx_rtmp_session_t *s, uint64_t ts)
|
|||||||
return ts;
|
return ts;
|
||||||
|
|
||||||
case NGX_RTMP_HLS_NAMING_SYSTEM:
|
case NGX_RTMP_HLS_NAMING_SYSTEM:
|
||||||
return ngx_current_msec;
|
return (uint64_t) ngx_cached_time->sec * 1000 + ngx_cached_time->msec;
|
||||||
|
|
||||||
default: /* NGX_RTMP_HLS_NAMING_SEQUENTIAL */
|
default: /* NGX_RTMP_HLS_NAMING_SEQUENTIAL */
|
||||||
return ctx->frag + ctx->nfrags;
|
return ctx->frag + ctx->nfrags;
|
||||||
|
Reference in New Issue
Block a user