disable debug log

This commit is contained in:
Seven Du 2015-05-30 06:40:47 +08:00
parent 5da76480ba
commit 55a955787c
2 changed files with 5 additions and 1 deletions

View File

@ -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) {

View File

@ -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;