<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div text="#000000" bgcolor="#FFFFFF"><div class="moz-cite-prefix"><span id="result_box" class="" lang="en"><span class="hps">I</span>
        <span class="hps">temporarily</span> <span class="hps">solved</span>
        <span class="hps">my problem</span> <span class="hps">by
          calling the</span> <span class="hps">old</span> <span class="hps">setupMediaSubsession</span> <span class="hps">instead
          of</span> <span class="hps">sendSetupCommand</span><span class="">.</span><br class="">
        <br class="">
        <span class="hps">I know that</span> <span class="hps">is not
          very nice</span><span class="">.<br></span></span></div></div></blockquote><div><br></div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>