From: Seven Du Date: Fri, 29 May 2015 22:40:47 +0000 (+0800) Subject: disable debug log X-Git-Tag: v1.6.2~603 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55a955787c9a4914a3325e99dcb094e86d502962;p=thirdparty%2Ffreeswitch.git disable debug log --- 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;