mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-18 09:11:08 +02:00
added rtmp sample access for vod
This commit is contained in:
parent
87bc473cde
commit
0f337fe9a4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue