mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1357 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1134,7 +1134,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, void *data, uint32_t data
|
||||
mini.header.ts = send_msg->header.ts;
|
||||
mini.header.version = 1;
|
||||
memcpy(mini.body, send_msg->body, bytes);
|
||||
bytes += sizeof(rtp_mini_msg_t);
|
||||
bytes += sizeof(srtp_mini_hdr_t);
|
||||
switch_socket_sendto(rtp_session->sock, rtp_session->remote_addr, 0, (void*)&mini, &bytes);
|
||||
} else {
|
||||
switch_socket_sendto(rtp_session->sock, rtp_session->remote_addr, 0, (void*)send_msg, &bytes);
|
||||
|
Reference in New Issue
Block a user