mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 09:41:07 +02:00
disabled logging relay connections
This commit is contained in:
parent
77860c0036
commit
406d3a9527
|
@ -806,7 +806,7 @@ ngx_rtmp_log_publish(ngx_rtmp_session_t *s, ngx_rtmp_publish_t *v)
|
|||
{
|
||||
ngx_rtmp_log_ctx_t *ctx;
|
||||
|
||||
if (s->auto_pushed) {
|
||||
if (s->auto_pushed || s->relay) {
|
||||
goto next;
|
||||
}
|
||||
|
||||
|
@ -827,7 +827,7 @@ ngx_rtmp_log_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
|
|||
{
|
||||
ngx_rtmp_log_ctx_t *ctx;
|
||||
|
||||
if (s->auto_pushed) {
|
||||
if (s->auto_pushed || s->relay) {
|
||||
goto next;
|
||||
}
|
||||
|
||||
|
@ -896,7 +896,7 @@ ngx_rtmp_log_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
u_char *line, *p;
|
||||
size_t len;
|
||||
|
||||
if (s->auto_pushed) {
|
||||
if (s->auto_pushed || s->relay) {
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue