OpenSSL docs say: These functions have no impact when used with DTLS.
Unified · Split
| @@ -790,9 +790,6 @@ static int dtls_start(URLContext *h, const char *url, int flags, AVDictionary ** · 789 unmodified lines | ||
| 790 | 790 | if (!c->listen && !c->numerichost) |
| 791 | 791 | SSL_set_tlsext_host_name(p->ssl, c->host); |
| 792 | 792 | |
| 793 | − /* Whether we should read as many input bytes as possible (for non-blocking reads) or not. */ | |
| 794 | − SSL_CTX_set_read_ahead(p->ctx, 1); | |
| 795 | − | |
| 796 | 793 | /* Setup the SRTP context */ |
| 797 | 794 | if (SSL_CTX_set_tlsext_use_srtp(p->ctx, profiles)) { |
| 798 | 795 | av_log(p, AV_LOG_ERROR, "TLS: Init SSL_CTX_set_tlsext_use_srtp failed, profiles=%s, %s\n", |