]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make sure to sort rtp vs rtcp when using rtcp mux
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 6 Feb 2013 15:46:03 +0000 (09:46 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 1 Apr 2013 02:27:24 +0000 (21:27 -0500)
src/switch_rtp.c

index 50d359cbcea72162ff431afc9b7605b8e61e8bbe..f161c5e7e7cb2dd1407dd0cc570185c3d536eb39 100644 (file)
@@ -3630,8 +3630,11 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
                }
        }
        
+
+
        if (status == SWITCH_STATUS_SUCCESS && *bytes) { 
                if (rtp_session->flags[SWITCH_RTP_FLAG_RTCP_MUX]) { 
+                       *flags &= ~SFF_RTCP;
                        if (rtp_session->recv_msg.header.pt != rtp_session->rpayload && (!rtp_session->recv_te || 
                                                                                                                                                         rtp_session->recv_msg.header.pt != rtp_session->recv_te) &&
                                (!rtp_session->cng_pt || rtp_session->recv_msg.header.pt != rtp_session->cng_pt) &&