Merge pull request #44 from sergey-dryabzhinsky/dummy-fcpublish-response

Fix fcpublish logs - no segfault here
This commit is contained in:
Sergey 2015-09-19 01:16:12 +03:00
commit 7abda68ef7

View file

@ -774,9 +774,8 @@ ngx_rtmp_create_fcpublish(ngx_rtmp_session_t *s, char *desc)
sizeof(out_inf) },
};
ngx_log_error(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
"create: fcpublish desc='%s'",
desc);
ngx_log_error(NGX_LOG_DEBUG, s->connection->log, 0,
"create: fcpublish - set structure data");
out_inf[2].data = desc;
// trans = 3.0; // magick from ffmpeg
@ -842,9 +841,8 @@ ngx_rtmp_create_fcunpublish(ngx_rtmp_session_t *s, char *desc)
sizeof(out_inf) },
};
ngx_log_error(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
"create: fcunpublish desc='%s'",
desc);
ngx_log_error(NGX_LOG_DEBUG, s->connection->log, 0,
"create: fcunpublish - set structure data");
out_inf[2].data = desc;
// trans = 5.0; // magick from ffmpeg