We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355dbef commit 1bdba68Copy full SHA for 1bdba68
modules/nginx-rtmp-module/ngx_rtmp_oclp_module.c
@@ -738,13 +738,17 @@ ngx_rtmp_oclp_common_url(ngx_str_t *url, ngx_rtmp_session_t *s,
738
buf = p;
739
740
if (ru.args.len) { // url already has args
741
- p = ngx_snprintf(buf, len, "&call=%s&act=%s&domain=%V&app=%V&name=%V",
+ p = ngx_snprintf(buf, len,
742
+ "&call=%s&act=%s&domain=%V&app=%V&name=%V&clientid=%D",
743
ngx_rtmp_oclp_app_type[nctx->type],
- ngx_rtmp_oclp_stage[stage], &s->domain, &s->app, &s->name);
744
+ ngx_rtmp_oclp_stage[stage],
745
+ &s->domain, &s->app, &s->name, s->number);
746
} else {
- p = ngx_snprintf(buf, len, "?call=%s&act=%s&domain=%V&app=%V&name=%V",
747
748
+ "?call=%s&act=%s&domain=%V&app=%V&name=%V&clientid=%D",
749
750
751
752
}
753
len -= p - buf;
754
0 commit comments