curl-and-python

RE: Curl RTSP Commands not Available in Python?

From: zon3d . <zon3d_at_hotmail.com>
Date: Thu, 8 Mar 2012 00:26:50 +1100

Oh ok I see.
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);
... for each of the functions ?
Am I on the right track?

> From: tashywashysachy_at_live.in
> To: curl-and-python_at_cool.haxx.se
> Subject: RE: Curl RTSP Commands not Available in Python?
> Date: Wed, 7 Mar 2012 18:06:38 +0530
>
>
> > I am trying to use the Curl RTSP commands that are listed on this page, but they do not seem > to be working. Supposedly setopt(option, value) corresponds to curl_easy_setopt in libcurl, where option is specified with the CURLOPT_* constants in libcurl, without the CURLOPT_prefixes. However for the RTSP options, it does not work. > For example:
> > c.setopt(pycurl.RTSP_REQUEST, RTSPREQ_OPTIONS)c.setopt(pycurl.RTSP_STREAM_URI, uri)
> > The error that comes up is: "AttributeError: 'module' object has no attribute 'RTSP_REQUEST'"
> > Does anyone know what I am doing wrong?
> > Thank you.
>
> RTSP is not supported in the current version of pycURL binding thought is available in libcURL. We plan to add this feature in the coming versions.
> pycURL is an open source community and we love to see new developers involving. If somehow you wish to contribute by adding RTSP or similar lacking features let us know :)
> Please follow us on twitter for updates:https://twitter.com/#!/pycURL
>
>
>
> d_r_a_g_o_s
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
                                               

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2012-03-07