cURL / Mailing Lists / curl-library / Single Mail

curl-library

RTSP async events (was: CURL_RTSPREQ_GET_PARAMETER timeout)

From: Massimo Callegari <massimocallegari_at_yahoo.it>
Date: Wed, 24 Mar 2010 14:10:39 +0000 (GMT)

Hello Christopher, the GET_PARAMETER patch you provided works like a charm ! Thank you ! Now I've got another question regarding RTSP asynchronous events. How is it possible to receive async events like an ANNOUNCE with libcurl ? Usually these kind of messages are sent by the server to notify that something happened on the server side. An example could be the End Of Stream. Unfortunately if the client is not listening the event is not caught immediately when it occurs. Have you got any idea or suggestion on how I could achieve this ? I tried CURL_RTSPREQ_RECEIVE hoping to receive the async events, but I found out that it doesn't receive RTSP messages. (I think just only interleaved RTP) Would it be appropriate to implement a new method or to improve CURL_RTSPREQ_RECEIVE to address this goal ? Thanks again ! Massimo ________________________________ Da: Christopher Conroy <cconroy@gmail.com> A: libcurl development <curl-library@cool.haxx.se> Inviato: Mer 24 marzo 2010, 14:21:38 Oggetto: Re: CURL_RTSPREQ_GET_PARAMETER timeout On Wed, Mar 24, 2010 at 8:25 AM, Daniel Stenberg <daniel@haxx.se> wrote: > On Wed, 24 Mar 2010, Christopher Conroy wrote: > >> I believe I have the code fixed now. GET_PARAMETER was all sorts of wrong. >> Now you should be able to do empty and non empty GET_PARAMETER requests. >> Your test works with my local live555 server with this patch. libtest572 >> adds coverage for this. > > Thanks a lot, I pushed it just now with just some minor edits. > > -- > > / daniel.haxx.se > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html > Small addendum: remove debug printfs from libtest572.c -- Chris Conroy

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-24