From 55a955787c9a4914a3325e99dcb094e86d502962 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Sat, 30 May 2015 06:40:47 +0800 Subject: [PATCH] disable debug log --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 2 +- src/mod/endpoints/mod_rtmp/rtmp_video.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 5aa8bbb1d8..d48df21076 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -1126,7 +1126,7 @@ switch_call_cause_t rtmp_session_create_call(rtmp_session_t *rsession, switch_co switch_set_flag_locked(tech_pvt, TFLAG_DETACHED); rtmp_set_channel_variables(*newsession); - if (event) { + if (0 && event) { switch_event_header_t *hp; for (hp = event->headers; hp; hp = hp->next) { diff --git a/src/mod/endpoints/mod_rtmp/rtmp_video.c b/src/mod/endpoints/mod_rtmp/rtmp_video.c index 14f6efc701..3a9688e450 100644 --- a/src/mod/endpoints/mod_rtmp/rtmp_video.c +++ b/src/mod/endpoints/mod_rtmp/rtmp_video.c @@ -458,6 +458,10 @@ switch_status_t rtmp_rtp2rtmpH264(rtp2rtmp_helper_t *helper, switch_frame_t *fra } } break; + + case 6: + break; + default: switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Unsupported NAL %d\n", nalType); break;