Reduce fragmentation in DTLS handshake Thanks larma
1 files changed, 4 insertions(+), 0 deletions(-) M res/res_rtp_asterisk.c
M res/res_rtp_asterisk.c => res/res_rtp_asterisk.c +4 -0
@@ 1626,6 1626,10 @@ static int dtls_details_initialize(struct dtls_details *dtls, SSL_CTX *ssl_ctx, } dtls->connection = AST_RTP_DTLS_CONNECTION_NEW; SSL_ctrl(dtls->ssl, SSL_CTRL_SET_MTU, RTP_MTU, NULL); SSL_ctrl(dtls->ssl, DTLS_CTRL_SET_LINK_MTU, RTP_MTU, NULL); SSL_set_options(dtls->ssl, SSL_OP_NO_QUERY_MTU); return 0; error: