<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">The problem is that my SPS/PPS NALs are never used in SDP. After some<br>debugging i reached the place where Session Description is created in<br>H264VideoRTPSink:<br><br> if (sps == NULL || pps == NULL) {<br>    // We need to get SPS and PPS from our framer source:<br>    if (fOurFragmenter == NULL) return NULL; // we don't yet have a<br>fragmenter (and therefore not a source)<br></blockquote>[...]<br><blockquote type="cite">Here, framerSource->getSPSandPPS() never gets called because at this point<br>fOurFragmenter  is NULL.<br></blockquote><div><br></div>It looks like you haven't even started playing the stream - i.e., you've never even called "startPlaying()" on your "H264VideoRTPSink" object!</div><div><br></div><div>Note, however, that if you're using a RTP server, then this should all be happening automatically (once you get the first re<span class="Apple-tab-span" style="white-space:pre">   </span>quest from a RTSP client).  Make sure that you're implementing the virtual functions "createNewStreamSource()" and "createNewRTPSink()" properly.</div><div><br></div><div>Another thing you can do - because you know the SPS/PPS NAL units in advance - is pass them as parameters to one of the alternative forms of "H264VideoRTPSink::createNew()", which you call from your "createNewRTPSink()" virtual function implementation.  (See "liveMedia/include/H264VideoRTPSink.hh")</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>