mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-17 00:51:09 +02:00
added meta csid constant
This commit is contained in:
parent
3caf2fd7b4
commit
64b24423d5
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue