added rtmp sample access for vod

This commit is contained in:
Roman Arutyunyan 2014-02-21 23:15:41 +04:00
parent 87bc473cde
commit 0f337fe9a4

View file

@ -904,6 +904,10 @@ ngx_rtmp_play_open(ngx_rtmp_session_t *s, double start)
return NGX_ERROR;
}
if (ngx_rtmp_send_sample_access(s) != NGX_OK) {
return NGX_ERROR;
}
if (ngx_rtmp_play_join(s) != NGX_OK) {
return NGX_ERROR;
}