<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="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" dir="ltr"><div dir="ltr"><div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><div>I had tried to neglect the first 4 bytes from the encoded buffer, but it
did not helped, I had adjusted the fFrameSize accordingly.</div>
<div> </div>
<div>Can you please provide me with the pseudo code for handling this.</div></div></div></div></blockquote><div><br></div>Oh for heaven's sake...</div><div><br></div><div>In your 'data source' class (i.e., your subclass of "FramedSource"), you will currently be doing something like:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>fFrameSize = size_of_nal_unit;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>memmove(fTo, ptr_to_start_of_nal_unit, fFrameSize);</div><div><br></div><div>Change this to:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>fFrameSize = size_of_nal_unit - 4;</div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>memmove(fTo, ptr_to_start_of_nal_unit + 4, fFrameSize);</div></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>