Changeset 6116
- Timestamp:
- Dec 6, 2019 5:57:48 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r6106 r6116 1761 1761 unsigned payloadlen; 1762 1762 pjmedia_rtp_status seq_st; 1763 pj_bool_t check_pt; 1763 1764 pj_status_t status; 1764 1765 pj_bool_t pkt_discarded = PJ_FALSE; … … 1809 1810 * the incoming packet. 1810 1811 */ 1811 pjmedia_rtp_session_update2(&channel->rtp, hdr, &seq_st, 1812 hdr->pt != stream->rx_event_pt); 1812 check_pt = (hdr->pt != stream->rx_event_pt) && PJMEDIA_STREAM_CHECK_RTP_PT; 1813 pjmedia_rtp_session_update2(&channel->rtp, hdr, &seq_st, check_pt); 1814 #if !PJMEDIA_STREAM_CHECK_RTP_PT 1815 if (!check_pt && hdr->pt != channel->rtp.out_pt && 1816 hdr->pt != stream->rx_event_pt) 1817 { 1818 seq_st.status.flag.badpt = 1; 1819 } 1820 #endif 1813 1821 if (seq_st.status.value) { 1814 1822 TRC_ ((stream->port.info.name.ptr,
Note: See TracChangeset
for help on using the changeset viewer.