mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-13 15:41:08 +02:00
publish type argument is now optional because some client do not provide it
This commit is contained in:
parent
ac924d7f94
commit
6ab14605ba
|
@ -443,7 +443,7 @@ ngx_rtmp_cmd_publish_init(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
ngx_null_string,
|
||||
&v.name, sizeof(v.name) },
|
||||
|
||||
{ NGX_RTMP_AMF_STRING,
|
||||
{ NGX_RTMP_AMF_OPTIONAL | NGX_RTMP_AMF_STRING,
|
||||
ngx_null_string,
|
||||
&v.type, sizeof(v.type) },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue