mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1363 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
cb94039d53
commit
56b7a4f522
@ -705,7 +705,13 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
if (bytes > 0 && rtp_session->recv_msg.header.version == 1) {
|
if (bytes > 0 && rtp_session->recv_msg.header.version == 1) {
|
||||||
uint32_t ts;
|
uint32_t ts;
|
||||||
rtp_mini_msg_t *mini = (rtp_mini_msg_t *) &rtp_session->recv_msg;
|
rtp_mini_msg_t *mini = (rtp_mini_msg_t *) &rtp_session->recv_msg;
|
||||||
switch_set_flag(rtp_session, SWITCH_RTP_FLAG_MINI);
|
|
||||||
|
if (mini->header.ts == 42) {
|
||||||
|
switch_set_flag(rtp_session, SWITCH_RTP_FLAG_MINI);
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "YAY MINI-RTP!\n");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ts = mini->header.ts;
|
ts = mini->header.ts;
|
||||||
bytes -= sizeof(srtp_mini_hdr_t);
|
bytes -= sizeof(srtp_mini_hdr_t);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user