<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 class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div>Based on the testRTSPClient example, I've gotten a stable RTSP connection working on my target platform; in this case to a video+audio RTSP source. But, now I'm struggling to figure out the next step. My custom MediaSink classes do not receive any frame data via afterGettingFrame()</div>
</blockquote><div><br></div></div>That is the first thing that you should fix. Note that when the (non-static) "DummySink::afterGettingFrame()" function ("testRTSPClient.cpp", lines 479-500) is called, a complete frame will have already been delivered into "fReceiveBuffer".</div>
</div></blockquote><div><br></div><div><span class="s1">That's my first problem then - I should have been more clear, in my case, that function is not getting called at all. I'm not debugging the original project, as that appears to exit immediately after proving that it can set up a connection (maybe I've chosen a bad test source? </span>"rtsp://<a href="http://media1.law.harvard.edu/Media/policy_a/2012/02/02_unger.mov">media1.law.harvard.edu/Media/policy_a/2012/02/02_unger.mov</a>").</div></div></blockquote><div><br></div>That stream is OK; however it works only if you request RTP-over-TCP streaming (in your call to "RTSPClient::sendSetupCommand()". (That server is apparently behind a firewall that blocks UDP packets.)</div><div><br></div><div>Instead, try the following (audio-only) stream, which works:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="rtsp://64.202.98.91:554/sog.sdp">rtsp://64.202.98.91:554/sog.sdp</a></div><div><br></div><div><br></div><div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div style="word-wrap:break-word"><div class="im">Maybe you should begin by explaining what it is specifically that you're trying to do...</div></div></blockquote><div><br></div><div>I'd love to say more, but I'm prohibited from going into too much detail to a public mailing list.</div></div></blockquote><div><br></div></div>OK, fair enough. However, if your questions are deliberately vague, then don't be surprised if you don't get a response. (Also, I hope your employer is OK with you using Open Source, LGPL'd software in your project :-)<div><br></div><div>Note also that if if you want to ask 'private' questions (i.e., not on this mailing list), then I am available for consulting (e.g., in an advisory role). But if you want to ask questions about this software 'for free', then you'll need to do so using this mailing list.</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>