mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 20:43:51 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1171 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c69c7416c0
commit
fd7bf0eaaa
3 files changed
+230
-165
No files matched your search
+2
-2
@@ -155,8 +155,8 @@ static void handle_ice(switch_rtp *rtp_session, void *data, switch_size_t len)
|
||||
}
|
||||
} while (switch_stun_packet_next_attribute(attr));
|
||||
|
||||
|
||||
if (packet->header.type == SWITCH_STUN_BINDING_REQUEST) {// && !strcmp(rtp_session->user_ice, username)) {
|
||||
//printf("[%s] [%s] [%s]\n", rtp_session->user_ice, username, !strcmp(rtp_session->user_ice, username) ? "yes" : "no");
|
||||
if ((packet->header.type == SWITCH_STUN_BINDING_REQUEST) && !strcmp(rtp_session->user_ice, username)) {
|
||||
uint8_t buf[512];
|
||||
switch_stun_packet_t *rpacket;
|
||||
char *remote_ip;
|
||||
|
||||
Reference in new issue
Block a user