curl-and-python
RE: Curl RTSP Commands not Available in Python?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Mar 2012 22:46:22 +0100 (CET)
Date: Wed, 7 Mar 2012 22:46:22 +0100 (CET)
On Thu, 8 Mar 2012, zon3d . wrote:
> To add the RTSP functionality to pycURL, is it a matter of adding the RTSP
> options to pycurl.c ?
>
> Example just adding the lines:
> insint_c(d, "RTSP_STREAM_URI", CURLOPT_RTSP_STREAM_URI);
> insint_c(d, "RTSP_REQUEST", CURLOPT_RTSP_REQUEST);
It might be worth to make some sort of (python?) script that extracts that
information from the public curl headers and generates the necessary glue code
from that, so it will be easier to just re-run it when new libcurl releases
ship!
libcurl is known to release roughly every second month, and we add new options
rather frequently...
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2012-03-07