From f9d89634ad172d75b4b461b6555ed7dca075bb98 Mon Sep 17 00:00:00 2001 From: Sergey Dryabzhinsky Date: Sun, 28 Feb 2016 01:23:11 +0300 Subject: [PATCH] Wrong lines removed. Fix it. Also change link to project in info. --- ngx_rtmp_codec_module.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ngx_rtmp_codec_module.c b/ngx_rtmp_codec_module.c index 15ad62f..8542ccb 100644 --- a/ngx_rtmp_codec_module.c +++ b/ngx_rtmp_codec_module.c @@ -606,7 +606,7 @@ ngx_rtmp_codec_reconstruct_meta(ngx_rtmp_session_t *s) { NGX_RTMP_AMF_STRING, 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_string("width"), @@ -663,6 +663,10 @@ ngx_rtmp_codec_reconstruct_meta(ngx_rtmp_session_t *s) static ngx_rtmp_amf_elt_t out_elts[] = { + { NGX_RTMP_AMF_STRING, + ngx_null_string, + "onMetaData", 0 }, + { NGX_RTMP_AMF_OBJECT, ngx_null_string, 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[] = { - { NGX_RTMP_AMF_STRING, - ngx_null_string, - NULL, 0 }, - { NGX_RTMP_AMF_OBJECT, ngx_null_string, in_inf, sizeof(in_inf) },