mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
res_rtp_asterisk: Move where DTLS MTU variable is defined.
The DTLS MTU variable is not dependent on pjproject and should not exist in its block. Change-Id: I7e97d64dc192f2ac81bfe2b72b8229d321c7d026
This commit is contained in:
@@ -197,6 +197,9 @@ static int nochecksums;
|
|||||||
static int strictrtp = DEFAULT_STRICT_RTP; /*!< Only accept RTP frames from a defined source. If we receive an indication of a changing source, enter learning mode. */
|
static int strictrtp = DEFAULT_STRICT_RTP; /*!< Only accept RTP frames from a defined source. If we receive an indication of a changing source, enter learning mode. */
|
||||||
static int learning_min_sequential = DEFAULT_LEARNING_MIN_SEQUENTIAL; /*!< Number of sequential RTP frames needed from a single source during learning mode to accept new source. */
|
static int learning_min_sequential = DEFAULT_LEARNING_MIN_SEQUENTIAL; /*!< Number of sequential RTP frames needed from a single source during learning mode to accept new source. */
|
||||||
static int learning_min_duration = DEFAULT_LEARNING_MIN_DURATION; /*!< Lowest acceptable timeout between the first and the last sequential RTP frame. */
|
static int learning_min_duration = DEFAULT_LEARNING_MIN_DURATION; /*!< Lowest acceptable timeout between the first and the last sequential RTP frame. */
|
||||||
|
#if defined(HAVE_OPENSSL) && (OPENSSL_VERSION_NUMBER >= 0x10001000L) && !defined(OPENSSL_NO_SRTP)
|
||||||
|
static int dtls_mtu = DEFAULT_DTLS_MTU;
|
||||||
|
#endif
|
||||||
#ifdef HAVE_PJPROJECT
|
#ifdef HAVE_PJPROJECT
|
||||||
static int icesupport = DEFAULT_ICESUPPORT;
|
static int icesupport = DEFAULT_ICESUPPORT;
|
||||||
static struct sockaddr_in stunaddr;
|
static struct sockaddr_in stunaddr;
|
||||||
@@ -204,9 +207,6 @@ static pj_str_t turnaddr;
|
|||||||
static int turnport = DEFAULT_TURN_PORT;
|
static int turnport = DEFAULT_TURN_PORT;
|
||||||
static pj_str_t turnusername;
|
static pj_str_t turnusername;
|
||||||
static pj_str_t turnpassword;
|
static pj_str_t turnpassword;
|
||||||
#if defined(HAVE_OPENSSL) && (OPENSSL_VERSION_NUMBER >= 0x10001000L) && !defined(OPENSSL_NO_SRTP)
|
|
||||||
static int dtls_mtu = DEFAULT_DTLS_MTU;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static struct ast_ha *ice_blacklist = NULL; /*!< Blacklisted ICE networks */
|
static struct ast_ha *ice_blacklist = NULL; /*!< Blacklisted ICE networks */
|
||||||
static ast_rwlock_t ice_blacklist_lock = AST_RWLOCK_INIT_VALUE;
|
static ast_rwlock_t ice_blacklist_lock = AST_RWLOCK_INIT_VALUE;
|
||||||
|
Reference in New Issue
Block a user