mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-09 22:11:08 +02:00
reverted the meaning of session_relay
This commit is contained in:
parent
43539b7234
commit
57dd1406bd
|
@ -1403,7 +1403,7 @@ ngx_rtmp_relay_close_stream(ngx_rtmp_session_t *s, ngx_rtmp_close_stream_t *v)
|
|||
ngx_rtmp_relay_app_conf_t *racf;
|
||||
|
||||
racf = ngx_rtmp_get_module_app_conf(s, ngx_rtmp_relay_module);
|
||||
if (racf && racf->session_relay) {
|
||||
if (racf && !racf->session_relay) {
|
||||
ngx_rtmp_relay_close(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue