mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-28 16:09:00 +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;
|
ngx_rtmp_log_ctx_t *ctx;
|
||||||
|
|
||||||
if (s->auto_pushed) {
|
if (s->auto_pushed || s->relay) {
|
||||||
goto next;
|
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;
|
ngx_rtmp_log_ctx_t *ctx;
|
||||||
|
|
||||||
if (s->auto_pushed) {
|
if (s->auto_pushed || s->relay) {
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -896,7 +896,7 @@ ngx_rtmp_log_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
||||||
u_char *line, *p;
|
u_char *line, *p;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
if (s->auto_pushed) {
|
if (s->auto_pushed || s->relay) {
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue