minor update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4500 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
eb2a78a91c
commit
df90a1d211
|
@ -1443,11 +1443,7 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
|
||||||
if (switch_test_flag(frame, SFF_CNG)) {
|
if (switch_test_flag(frame, SFF_CNG)) {
|
||||||
payload = rtp_session->cng_pt;
|
payload = rtp_session->cng_pt;
|
||||||
} else {
|
} else {
|
||||||
payload = frame->payload;
|
payload = rtp_session->payload;
|
||||||
if (payload != rtp_session->payload) {
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "payload mismatch %d->%d", payload, rtp_session->payload);
|
|
||||||
payload = rtp_session->payload;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fwd && !packetize) {
|
if (fwd && !packetize) {
|
||||||
|
|
Loading…
Reference in New Issue