From b937376041fb5435cfa27d64f9bd73756dc4ef23 Mon Sep 17 00:00:00 2001 From: Sergey Dryabzhinsky Date: Fri, 26 Feb 2016 20:36:25 +0300 Subject: [PATCH] Flash video stream's meta data (onMetaData) contains only an object (and no string before it), so read the object only. --- ngx_rtmp_codec_module.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ngx_rtmp_codec_module.c b/ngx_rtmp_codec_module.c index 3b2557c..15ad62f 100644 --- a/ngx_rtmp_codec_module.c +++ b/ngx_rtmp_codec_module.c @@ -663,10 +663,6 @@ 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) },