mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 18:01:08 +02:00
added relay remote address string to connection
This commit is contained in:
parent
3027868a50
commit
5ced4aea88
|
@ -265,6 +265,7 @@ ngx_rtmp_relay_create_remote_ctx(ngx_rtmp_session_t *s, ngx_str_t *app,
|
||||||
}
|
}
|
||||||
c = pc->connection;
|
c = pc->connection;
|
||||||
c->pool = pool;
|
c->pool = pool;
|
||||||
|
c->addr_text = rctx->url;
|
||||||
|
|
||||||
addr_conf = ngx_pcalloc(pool, sizeof(ngx_rtmp_addr_conf_t));
|
addr_conf = ngx_pcalloc(pool, sizeof(ngx_rtmp_addr_conf_t));
|
||||||
if (addr_conf == NULL) {
|
if (addr_conf == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue