From 56b7a4f5220c3531a6488208f823679c4df382c8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 5 May 2006 02:18:06 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1363 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index d84bdbd195..fa02feebd9 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -705,7 +705,13 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ if (bytes > 0 && rtp_session->recv_msg.header.version == 1) { uint32_t ts; rtp_mini_msg_t *mini = (rtp_mini_msg_t *) &rtp_session->recv_msg; - switch_set_flag(rtp_session, SWITCH_RTP_FLAG_MINI); + + if (mini->header.ts == 42) { + switch_set_flag(rtp_session, SWITCH_RTP_FLAG_MINI); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "YAY MINI-RTP!\n"); + continue; + } + ts = mini->header.ts; bytes -= sizeof(srtp_mini_hdr_t);