mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1357 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0c27a246b3
commit
a4b1fdc709
7 files changed
+451
-453
No files matched your search
+1
-1
@@ -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