Skip to content

Commit 0f337fe

Browse files
committed
added rtmp sample access for vod
1 parent 87bc473 commit 0f337fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ngx_rtmp_play_module.c

+4
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,10 @@ ngx_rtmp_play_open(ngx_rtmp_session_t *s, double start)
904904
return NGX_ERROR;
905905
}
906906

907+
if (ngx_rtmp_send_sample_access(s) != NGX_OK) {
908+
return NGX_ERROR;
909+
}
910+
907911
if (ngx_rtmp_play_join(s) != NGX_OK) {
908912
return NGX_ERROR;
909913
}

0 commit comments

Comments
 (0)