[Live-devel] Suggestions for RTSPClient [ testRTSPClient example]

Ross Finlayson finlayson at live555.com
Sat Jan 21 13:12:00 PST 2012


I'm not sure I totally understand what you're asking/suggesting (but since you use a non-professional email address, I really don't care :-).  But it sounds like you want to perform RTSP client operations in a 'synchronous' way, whereby you block - waiting for the response to each RTSP request - before sending the next request.

We actually provide an optional alternative "RTSPClient" interface that lets you program RTSP clients in this manner.  Look for
	RTSPCLIENT_SYNCHRONOUS_INTERFACE
in "liveMedia/include/RTSPClient.hh".

Be warned, however, that this 'synchronous' interface is not recommended, and will someday likely be removed.  Although it arguably makes it easier to program a single RTSP client (that does nothing else), it makes it difficult to implement multiple concurrent RTSP clients (or other concurrent activities in addition to a single RTSP client).


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120121/34d45fb3/attachment.html>


More information about the live-devel mailing list