<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body 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" dir="ltr"><div dir="ltr"><div style="font-family: Arial; font-size: 10pt; "><div style="font-style: normal; display: inline; font-family: Calibri; font-size: small; font-weight: normal; text-decoration: none; "><div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div style="FONT-FAMILY: arial; FONT-SIZE: 10pt"><div>Using the library, what is the most efficient way to get access to the
H.264 portion of the stream</div></div></div></div></blockquote>
<div> </div></div>>>Because this is a Frequently Asked Question, I
have now added an entry for it to the FAQ. See:
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><font size="2" face="Arial">>></font><a href="http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data">http://www.live555.com/liveMedia/faq.html#testRTSPClient-how-to-decode-data</a></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Re-reading your explanation above, in my
ContinueAfterSETUP method, should I do the following:</font></div>
<div><font size="2" face="Arial"></font> </div>
<div>unsigned n_records=0;</div>
<div>const char* sps =
scs.subsession->fmtp_spropparametersets(); </div>
<div>SPropRecord* pSPropRecord = parseSPropParameterSets( sps, n_records
);</div>
<div> </div>
<div><font size="2" face="Arial">Now what do I send to my downstream decoder
??</font></div></div></div></div></div></blockquote><div><br></div></div>Do something like:<div><br></div><div>for (unsigned i = 0; i < n_records; ++i) {</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>pass the NAL unit pointed to by "psPropRecord[i]->sPropBytes" (of length "psPropRecord[i]->sPropLength") to your decoder</div><div>}</div><div>delete[] psPropRecord;</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>