Skip to content

Commit

Permalink
fixed flv seeking
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Oct 24, 2012
1 parent 20b55b3 commit 98d959a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ngx_rtmp_flv_module.c
Expand Up @@ -604,6 +604,8 @@ ngx_rtmp_flv_seek(ngx_rtmp_session_t *s, ngx_file_t *f, ngx_uint_t timestamp)
"flv: seek timestamp=%ui", timestamp);

ctx->start_timestamp = timestamp;
ctx->offset = -1;
ctx->msg_mask = 0;

return NGX_OK;
}
Expand Down

0 comments on commit 98d959a

Please sign in to comment.