added meta csid constant

This commit is contained in:
Roman Arutyunyan 2012-07-05 00:18:00 +04:00
parent 3caf2fd7b4
commit 64b24423d5
2 changed files with 2 additions and 1 deletions

View file

@ -370,7 +370,7 @@ ngx_rtmp_codec_update_meta(ngx_rtmp_session_t *s)
}
ngx_memzero(&h, sizeof(h));
h.csid = 5;
h.csid = NGX_RTMP_LIVE_CSID_META;
h.msid = NGX_RTMP_LIVE_MSID;
h.type = NGX_RTMP_MSG_AMF_META;
ngx_rtmp_prepare_message(s, &h, NULL, ctx->meta);

View file

@ -17,6 +17,7 @@
/* Chunk stream ids for output */
#define NGX_RTMP_LIVE_CSID_META 5
#define NGX_RTMP_LIVE_CSID_AUDIO 6
#define NGX_RTMP_LIVE_CSID_VIDEO 7
#define NGX_RTMP_LIVE_MSID 1