I would like to know why do we need to wait for an answer in teardownMediaSession ?
In principle the RTSP "TEARDOWN" command might not succeed - e.g., because of permission problems. In practice, though, this is unlikely, I agree.
The next (completely revamped) version of "RTSPClient" will send each command asynchronously (i.e., without blocking), and use the event loop to handle the reply, if desired. For "TEARDOWN", the programmer probably won't bother handing the reply.
Would you have any suggestion ?
Wait for my upcoming update to "RTSPClient". -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel