mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 23:34:13 +00:00
reset rtp media timer when we get a reinvite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11161 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c488041f4a
commit
ade0e51eae
3 files changed
+10
-1
No files matched your search
@@ -608,6 +608,11 @@ SWITCH_DECLARE(void) switch_rtp_set_max_missed_packets(switch_rtp_t *rtp_session
|
||||
rtp_session->max_missed_packets = max;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_rtp_reset_media_timer(switch_rtp_t *rtp_session)
|
||||
{
|
||||
rtp_session->missed_count = 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(char *) switch_rtp_get_remote_host(switch_rtp_t *rtp_session)
|
||||
{
|
||||
return switch_strlen_zero(rtp_session->remote_host_str) ? "0.0.0.0" : rtp_session->remote_host_str;
|
||||
|
||||
Reference in new issue
Block a user