> I temporarily solved my problem by calling the old setupMediaSubsession 
> instead of sendSetupCommand.
> 
> I know that is not very nice.

No, it's exactly right.  If you use the old synchronous RTSPClient interface, 
then *all* of your "RTSPClient" function calls should be from that old 
interface.

Your problem was apparently that you called "sendSetupCommand()" - a function 
from the new asynchronous interface - but then called a function to send a RTSP 
"PLAY" before you had handled a response to the RTSP "SETUP" command.

Functions from the new asynchronous interface (except, perhaps, for the initial 
"sendDescribeCommand()" call) need to be called from within event handlers - 
i.e., after you've already called "doEventLoop()" to enter the application's 
event loop.

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

Reply via email to