<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>If I add the following code:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">const</span> <span style="color: #be299d">char</span>* pSpropParamSets = <span style="color: #4d8186">fSubsession</span>.<span style="color: #401f7d">fmtp_spropparametersets</span>();</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">if</span> (pSpropParamSets != <span style="color: #be299d">NULL</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #733ea4">cout</span> << <span style="color: #d42722">"pSpropParamSets = "</span> << pSpropParamSets << <span style="color: #401f7d">endl</span>;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">else</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(212, 39, 34); "><span style="color: #000000"> </span><span style="color: #733ea4">cout</span><span style="color: #000000"> << </span>"pSpropParamSets = NULL"<span style="color: #000000"> << </span><span style="color: #401f7d">endl</span><span style="color: #000000">;</span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">const</span> <span style="color: #be299d">char</span>* pSavedSDPLines = <span style="color: #4d8186">fSubsession</span>.<span style="color: #401f7d">savedSDPLines</span>();</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">if</span> (pSavedSDPLines != <span style="color: #be299d">NULL</span>)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #733ea4">cout</span> << <span style="color: #d42722">"pSavedSDPLines = "</span> << pSavedSDPLines << <span style="color: #401f7d">endl</span>;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #be299d">else</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(212, 39, 34); "><span style="color: #000000"> </span><span style="color: #733ea4">cout</span><span style="color: #000000"> << </span>"pSavedSDPLines = NULL"<span style="color: #000000"> << </span><span style="color: #401f7d">endl</span><span style="color: #000000">;</span></div></div><div><br></div><div>the output is:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><b>pSpropParamSets = NULL</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><b>pSavedSDPLines = m=video 0 RTP/AVP 33</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><b>a=control:rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=620&flavour=ld</b></div></div><div><br></div><br><div><div>Le 2 mars 2012 à 21:14, Ross Finlayson a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I have added the following lines into "afterGettingFrame" method.</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><span style="color: #be299d">unsigned</span> numSPropRecords;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><span style="color: #733ea4">SPropRecord</span>* sPropRecords = <span style="color: #401f7d">parseSPropParameterSets</span>(<span style="color: #4d8186">fSubsession</span>.<span style="color: #401f7d">fmtp_spropparametersets</span>(), numSPropRecords);</div></div><div><br></div><div>numSPropRecords is always 0</div><div>and sPropsRecords is always NULL</div></div></blockquote><div><br></div></div>That's probably because "fmtp_spropparametersets()" returned NULL, which suggests that the stream's SDP description - for some reason - did not contain a proper "a=fmtp: ..." line. To help figure out what's going wrong, please let us know the stream's SDP description, and also the result of calling "fmtp_spropparametersets()".<br><br><div apple-content-edited="true">
Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a>
</div>
<br></div>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>http://lists.live555.com/mailman/listinfo/live-devel<br></blockquote></div><br></body></html>