mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-13 23:51:08 +02:00
added _definst_ support for better Wowza compliance
This commit is contained in:
parent
5eb6dce453
commit
fa2b5b037f
|
@ -171,7 +171,9 @@ ngx_rtmp_cmd_connect_init(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
}
|
||||
|
||||
len = ngx_strlen(v.app);
|
||||
if (len && v.app[len - 1] == '/') {
|
||||
if (len > 10 && !ngx_memcmp(v.app + len - 10, "/_definst_", 10)) {
|
||||
v.app[len - 10] = 0;
|
||||
} else if (len && v.app[len - 1] == '/') {
|
||||
v.app[len - 1] = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue