From 04cb15ae9dc0e863487ee55de2226cf5033311c0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 12 May 2010 23:07:20 +0200 Subject: RTMP: initial support added, powered by librtmp librtmp is found at http://rtmpdump.mplayerhq.hu/ --- lib/url.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index ec7f46a3e..1db65cab7 100644 --- a/lib/url.c +++ b/lib/url.c @@ -137,6 +137,7 @@ void idn_free (void *ptr); /* prototype from idn-free.h, not provided by #include "http_ntlm.h" #include "socks.h" #include "rtsp.h" +#include "curl_rtmp.h" #define _MPRINTF_REPLACE /* use our functions only */ #include @@ -226,6 +227,15 @@ static const struct Curl_handler * const protocols[] = { &Curl_handler_rtsp, #endif +#ifdef USE_LIBRTMP + &Curl_handler_rtmp, + &Curl_handler_rtmpt, + &Curl_handler_rtmpe, + &Curl_handler_rtmpte, + &Curl_handler_rtmps, + &Curl_handler_rtmpts, +#endif + (struct Curl_handler *) NULL }; -- cgit v1.2.3