Need some information about using curl for RTSP

2013-07-10 Thread Amit Pal
Hi All, I want to use RTSP for my work. I have following questions: 1) Can I use RTSP just for streaming not for session management. I mean we have different way of establishing the session, and I just want to use commands like play, pause etc. Is it mandatory to associate these commands with

Getting version error even though my version is latest for RTSP

2013-07-11 Thread Amit Pal
Hi All, I have downloaded latest curl version and trying to execute test program for RTSP but everytime I gte a version error. It says version is not latest and thats why curl_easy_perform() fails, but when I execute curl-config --version then I get libcurl 7.31.0. Regards

Re: Getting version error even though my version is latest for RTSP

2013-07-12 Thread Amit Pal
and set it in my play request through CURLOPT_RTSP_SESSION_ID option? OR is it a MUST for me to execute SETUP through curl and get the session id? On Fri, Jul 12, 2013 at 2:20 AM, Ryan Bowring meok...@yahoo.com wrote: On Jul 12, 2013, at 5:35 AM, Amit Pal amit.c...@gmail.com wrote: What OS

Please Help: How to receive asyn RTSP Server messages in RTSP client through curl

2013-07-16 Thread Amit Pal
Hi All, So till now I am able to send and receive a play request using curl library. Now I have following question: 1) How can I receive async message from Server on my Client. for e.g. an EOF event? Basically Curl has socket and when we call curl_easy_perform() it send and receives the

Re: Please Help: How to receive asyn RTSP Server messages in RTSP client through curl

2013-07-16 Thread Amit Pal
In addition to that. for e.g. how can I receive an ANNOUNCE message sent by Server? On Tue, Jul 16, 2013 at 11:31 AM, Amit Pal amit.c...@gmail.com wrote: Hi All, So till now I am able to send and receive a play request using curl library. Now I have following question: 1) How can I

http://curl.haxx.se/mail/lib-2010-03/0365.html - is this done now? Please reply..

2013-07-16 Thread Amit Pal
Hi All, I just looked into this existing thread: http://curl.haxx.se/mail/lib-2010-03/0365.html which has same problem as I am looking into. Just wanted to know is this sorted out? --- List admin:

Re: Please Help: How to receive asyn RTSP Server messages in RTSP client through curl

2013-07-16 Thread Amit Pal
Can someone please reply for this as I am really stuck here. On Tue, Jul 16, 2013 at 12:01 PM, Amit Pal amit.c...@gmail.com wrote: In addition to that. for e.g. how can I receive an ANNOUNCE message sent by Server? On Tue, Jul 16, 2013 at 11:31 AM, Amit Pal amit.c...@gmail.com wrote: Hi

question about Curl_send_plain

2013-07-17 Thread Amit Pal
Hi, I browsed the code and came to see that Curl_send_plain internally calls swrite(). So I am believing that Curl_send_plain() calls simple send() and recv() functions on socket and does not perform any IO multiplexing using poll() or select(). Am I right here?

Re: question about Curl_send_plain

2013-07-17 Thread Amit Pal
, Jul 17, 2013 at 2:00 PM, Daniel Stenberg dan...@haxx.se wrote: On Wed, 17 Jul 2013, Amit Pal wrote: I browsed the code and came to see that Curl_send_plain internally calls swrite(). So I am believing that Curl_send_plain() calls simple send() and recv() functions on socket and does