mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
added relay remote address string to connection
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user