<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>Thanks for the timely reply.</div></div></div></div></div></div></blockquote><div><br></div>No, it wasn't a "timely reply". My reply was deliberately delayed by about a day because you use an unprofessional email address. (As explained in the FAQ, if you want to be taken seriously on this mailing list, you should use a professional email address. This software is not intended for casual hobbyists.)</div><div><br></div><div><br><blockquote type="cite"><div dir="ltr"><div><div>Now the the RTSP server to stream JPEG/RTP is ready and I am able to stream this over a player like VLC.<br></div>The problem I am facing now is that if I use a client such as testRTSPClient and try to store the fReceiveBuffer to a .jpg file, the jpg file is unreadable using a image viewer.</div></div></blockquote><div><br></div>If you're receiving a JPEG/RTP stream using "testRTSPClient", then when you enter the "DummySink::afterGettingFrame()" function ("testRTSPClient.cpp", line 502), then "fReceiveBuffer" should point to a complete JPEG image, of size "frameSize". (You should make sure, though, that "numTruncatedBytes" is zero; if it's not, then you'll need to increase "DUMMY_SINK_RECEIVE_BUFFER_SIZE" accordingly.)</div><div><br></div><div>Alternatively, as I explained before, you can just run "openRTSP" with the "-m" option to record each incoming frame as a separate file (in this case, a JPEG image).</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; "><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; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>