<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; "><font color="#222222" face="arial, sans-serif">I have cloned testRTSPClient.cpp (using a non modified version assuringly i get packets from the video stream appearing in debug), below is modified version of continueAfterSETUP</font></div></blockquote><div><br></div>No, you're totally on the wrong track here.  (For starters, the "H264VideoRTPSink" class is used only by *servers* - i.e., when *transmitting* H.264/RTP packets.  It's completely irrelevant for you.)</div><div><br></div><div>To update (a copy of) the "testRTSPClient" code so that it renders video data is fairly straightforward: You simply have to change the "DummySink" class, so that *it* does the rendering (or calls a decoder library to do the rendering).  In particular, you would change the implementation of the "afterGettingFrame()" function - at line 479.  That's it!</div><div><br></div><div>(Actually, for H.264 video, there is one more thing that you'll probably need to do.  H.264 streams have out-of-band configuration information (SPS and PPS NAL units) that you may need to feed to the decoder to initialize it.  To get this information, call "MediaSubsession::fmtp_spropparametersets()" (on the video 'subsession' object).  This will give you a (ASCII) character string.  You can then pass this to "parseSPropParameterSets()", to generate binary NAL units for your decoder.)</div><div><br></div><div><br></div><div><blockquote type="cite"><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; "><font color="#222222" face="arial, sans-serif">am little worried about </font><b>The total received frame size exceed... </b><font color="#222222" face="arial, sans-serif">lines but whatever I change</font><b> </b><font color="#222222" face="arial, sans-serif">OutPacketBuffer::maxSiz</font><font color="#222222" face="arial, sans-serif">e it seems to make no difference?</font></div></blockquote><div><br></div>I don't understand this.  Changing "OutPacketBuffer::maxSize" - at runtime - should fix this.</div><br><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>