mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 11:29:48 +00:00
solaris build tweak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3669 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8ccdcce193
commit
44985f730b
@ -38,6 +38,7 @@
|
|||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
#undef inline
|
||||||
#include <datatypes.h>
|
#include <datatypes.h>
|
||||||
#include <srtp.h>
|
#include <srtp.h>
|
||||||
|
|
||||||
@ -219,7 +220,7 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session)
|
|||||||
elapsed = (unsigned int)((switch_time_now() - rtp_session->last_stun) / 1000);
|
elapsed = (unsigned int)((switch_time_now() - rtp_session->last_stun) / 1000);
|
||||||
|
|
||||||
if (elapsed > 30000) {
|
if (elapsed > 30000) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, 3, "No stun for a long time (PUNT!)\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s", "No stun for a long time (PUNT!)\n");
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user