mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
set RTMP sample access args to be true
This commit is contained in:
@ -652,7 +652,7 @@ ngx_rtmp_cmd_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
|
|||||||
ngx_rtmp_header_t h;
|
ngx_rtmp_header_t h;
|
||||||
|
|
||||||
static double trans;
|
static double trans;
|
||||||
static int bfalse;
|
static int access = 1;
|
||||||
|
|
||||||
static ngx_rtmp_amf_elt_t out_inf[] = {
|
static ngx_rtmp_amf_elt_t out_inf[] = {
|
||||||
|
|
||||||
@ -731,11 +731,11 @@ ngx_rtmp_cmd_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
|
|||||||
|
|
||||||
{ NGX_RTMP_AMF_BOOLEAN,
|
{ NGX_RTMP_AMF_BOOLEAN,
|
||||||
ngx_null_string,
|
ngx_null_string,
|
||||||
&bfalse, 0 },
|
&access, 0 },
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_BOOLEAN,
|
{ NGX_RTMP_AMF_BOOLEAN,
|
||||||
ngx_null_string,
|
ngx_null_string,
|
||||||
&bfalse, 0 },
|
&access, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
static ngx_rtmp_amf_elt_t out4_inf[] = {
|
static ngx_rtmp_amf_elt_t out4_inf[] = {
|
||||||
|
Reference in New Issue
Block a user