mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-01 06:09:32 +02:00
Wrong lines removed. Fix it. Also change link to project in info.
This commit is contained in:
parent
b937376041
commit
f9d89634ad
|
@ -606,7 +606,7 @@ ngx_rtmp_codec_reconstruct_meta(ngx_rtmp_session_t *s)
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_STRING,
|
{ NGX_RTMP_AMF_STRING,
|
||||||
ngx_string("Server"),
|
ngx_string("Server"),
|
||||||
"NGINX RTMP (github.com/arut/nginx-rtmp-module)", 0 },
|
"NGINX RTMP (github.com/sergey-dryabzhinsky/nginx-rtmp-module)", 0 },
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_NUMBER,
|
{ NGX_RTMP_AMF_NUMBER,
|
||||||
ngx_string("width"),
|
ngx_string("width"),
|
||||||
|
@ -663,6 +663,10 @@ ngx_rtmp_codec_reconstruct_meta(ngx_rtmp_session_t *s)
|
||||||
|
|
||||||
static ngx_rtmp_amf_elt_t out_elts[] = {
|
static ngx_rtmp_amf_elt_t out_elts[] = {
|
||||||
|
|
||||||
|
{ NGX_RTMP_AMF_STRING,
|
||||||
|
ngx_null_string,
|
||||||
|
"onMetaData", 0 },
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_OBJECT,
|
{ NGX_RTMP_AMF_OBJECT,
|
||||||
ngx_null_string,
|
ngx_null_string,
|
||||||
out_inf, sizeof(out_inf) },
|
out_inf, sizeof(out_inf) },
|
||||||
|
@ -841,10 +845,6 @@ ngx_rtmp_codec_meta_data(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
||||||
|
|
||||||
static ngx_rtmp_amf_elt_t in_elts[] = {
|
static ngx_rtmp_amf_elt_t in_elts[] = {
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_STRING,
|
|
||||||
ngx_null_string,
|
|
||||||
NULL, 0 },
|
|
||||||
|
|
||||||
{ NGX_RTMP_AMF_OBJECT,
|
{ NGX_RTMP_AMF_OBJECT,
|
||||||
ngx_null_string,
|
ngx_null_string,
|
||||||
in_inf, sizeof(in_inf) },
|
in_inf, sizeof(in_inf) },
|
||||||
|
|
Loading…
Reference in a new issue