mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9782 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0c6835c0be
commit
38a5817168
@ -1298,7 +1298,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
if (bytes) {
|
if (bytes) {
|
||||||
rtp_session->missed_count = 0;
|
rtp_session->missed_count = 0;
|
||||||
|
|
||||||
if ((rtp_session->recv_msg.header.pt == rtp_session->cng_pt || rtp_session->recv_msg.header.pt == 13)) {
|
if (rtp_session->recv_msg.header.pt && (rtp_session->recv_msg.header.pt == rtp_session->cng_pt || rtp_session->recv_msg.header.pt == 13)) {
|
||||||
if (++rtp_session->cng_count == 1) {
|
if (++rtp_session->cng_count == 1) {
|
||||||
return_cng_frame();
|
return_cng_frame();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user