<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://408/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="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-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; margin: 0px; "><div><span style="font-size: 12pt; ">I'm able to view the RTSP stream in VLC</span></div></div></blockquote><div><br></div>OK. One thing that VLC is doing that "testRTSPClient" is not is setting an extremely large receive buffer (in the operating system) for the RTP socket. This may be necessary for you, because you're trying to receive a stream that uses such a ridiculously inefficient codec (i.e., JPEG).</div><div><br></div><div>So, try the following:</div><div>Add</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>#include <GroupsockHelper.hh></div><div>to your application, and add the line</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>increaseReceiveBufferTo(env, scs.subsession->rtpSource()->RTPgs()->socketNum(), 2000000);</div><div>to your "continueAfterSETUP()" function.</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>