Before creating RTP sink i have set <br> OutPacketBuffer::maxSize = 200000;<br>However just before copying data into fTo<br> the value of fMaxSize is 201260<br>
the value of fTo is 64405<br>Still then when the frame is received at receiver side then its of 34249.<br><br><div class="gmail_quote">On Mon, Jun 29, 2009 at 11:07 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The first frame my streamer writes to "fTo" is of size 64405<br>
</blockquote>
<br></div>
You *must* check the value of "fMaxSize" before copying data to the "fTo" pointer. "fMaxSize" tells you the size of the buffer that the downstream object has made available.<br>
-- <br><font color="#888888">
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Bilal Latif<br><br>