diff options
author | Joshua Colp <jcolp@digium.com> | 2017-12-05 18:46:28 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-12-05 18:46:28 -0600 |
commit | c4fe9ff002fd76370c3fbe4db95d23856f72266e (patch) | |
tree | 2b7cfeb13cf5e832e460204deb263696a3bfb852 /res | |
parent | 466f9035f5be36990021602623b33fc61ec5518d (diff) | |
parent | 9330eacc5054f10fcb2278e150c93bbb524016f2 (diff) |
Merge "res_rtp_asterisk.c: Increase strictrtp learning timeout time." into 13
Diffstat (limited to 'res')
-rw-r--r-- | res/res_rtp_asterisk.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 7724fc63b..5271d1bf4 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -139,7 +139,14 @@ enum strict_rtp_state { STRICT_RTP_CLOSED, /*! Drop all RTP packets not coming from source that was learned */ }; -#define STRICT_RTP_LEARN_TIMEOUT 1500 /*!< milliseconds */ +/*! + * \brief Strict RTP learning timeout time in milliseconds + * + * \note Set to 5 seconds to allow reinvite chains for direct media + * to settle before media actually starts to arrive. There may be a + * reinvite collision involved on the other leg. + */ +#define STRICT_RTP_LEARN_TIMEOUT 5000 #define DEFAULT_STRICT_RTP -1 /*!< Enabled */ #define DEFAULT_ICESUPPORT 1 |