Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set RTMP sample access args to be true

  • Loading branch information...
commit 87d1cebfe2822d75f9c97fe2487723029abc272a 1 parent 6851577
@arut arut authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ngx_rtmp_cmd_module.c
View
6 ngx_rtmp_cmd_module.c
@@ -652,7 +652,7 @@ ngx_rtmp_cmd_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
ngx_rtmp_header_t h;
static double trans;
- static int bfalse;
+ static int access = 1;
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_null_string,
- &bfalse, 0 },
+ &access, 0 },
{ NGX_RTMP_AMF_BOOLEAN,
ngx_null_string,
- &bfalse, 0 },
+ &access, 0 },
};
static ngx_rtmp_amf_elt_t out4_inf[] = {
Please sign in to comment.
Something went wrong with that request. Please try again.