mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
deal with complex codec mapping bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8823 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1914,6 +1914,9 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
|
||||
send_msg = frame->packet;
|
||||
len = frame->packetlen;
|
||||
ts = 0;
|
||||
if (frame->codec && frame->codec->agreed_pt == frame->payload) {
|
||||
send_msg->header.pt = payload;
|
||||
}
|
||||
} else {
|
||||
data = frame->data;
|
||||
len = frame->datalen;
|
||||
|
Reference in New Issue
Block a user