mirror of
https://github.com/curl/curl.git
synced 2026-07-24 15:47:16 +03:00
rtmp: drop support
- librtmp has no test cases, makes no proper releases and has not had a single commit within the last year - librtmp parses the URL itself and requires non-compliant URLs for this - we have no RTMP tests - RTMP was used by 2.2% of curl users (self-identified in the 2025 survey) Closes #20673
This commit is contained in:
parent
ff28f67970
commit
ceae02db04
37 changed files with 82 additions and 740 deletions
|
|
@ -46,11 +46,6 @@
|
|||
#include <libpsl.h>
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBRTMP
|
||||
#include <librtmp/rtmp.h>
|
||||
#include "curl_rtmp.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
|
@ -178,9 +173,6 @@ char *curl_version(void)
|
|||
#if !defined(CURL_DISABLE_HTTP) && defined(USE_HTTP3)
|
||||
char h3_version[30];
|
||||
#endif
|
||||
#ifdef USE_LIBRTMP
|
||||
char rtmp_version[30];
|
||||
#endif
|
||||
#ifdef USE_GSASL
|
||||
char gsasl_buf[30];
|
||||
#endif
|
||||
|
|
@ -244,10 +236,6 @@ char *curl_version(void)
|
|||
Curl_quic_ver(h3_version, sizeof(h3_version));
|
||||
src[i++] = h3_version;
|
||||
#endif
|
||||
#ifdef USE_LIBRTMP
|
||||
Curl_rtmp_version(rtmp_version, sizeof(rtmp_version));
|
||||
src[i++] = rtmp_version;
|
||||
#endif
|
||||
#ifdef USE_GSASL
|
||||
curl_msnprintf(gsasl_buf, sizeof(gsasl_buf), "libgsasl/%s",
|
||||
gsasl_check_version(NULL));
|
||||
|
|
@ -350,14 +338,6 @@ static const char * const supported_protocols[] = {
|
|||
#if defined(USE_SSL) && !defined(CURL_DISABLE_POP3)
|
||||
"pop3s",
|
||||
#endif
|
||||
#ifdef USE_LIBRTMP
|
||||
"rtmp",
|
||||
"rtmpe",
|
||||
"rtmps",
|
||||
"rtmpt",
|
||||
"rtmpte",
|
||||
"rtmpts",
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_RTSP
|
||||
"rtsp",
|
||||
#endif
|
||||
|
|
@ -694,13 +674,5 @@ curl_version_info_data *curl_version_info(CURLversion stamp)
|
|||
feature_names[n] = NULL; /* Terminate array. */
|
||||
version_info.features = features;
|
||||
|
||||
#ifdef USE_LIBRTMP
|
||||
{
|
||||
static char rtmp_version[30];
|
||||
Curl_rtmp_version(rtmp_version, sizeof(rtmp_version));
|
||||
version_info.rtmp_version = rtmp_version;
|
||||
}
|
||||
#endif
|
||||
|
||||
return &version_info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue