<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [Live-devel] Sending lots of NAL's problem</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BLOCKQUOTE {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=876591006-31122009><FONT face=Arial color=#0000ff size=2>lets
say that I do read all available data from the socket on the first call to
doDeliverFrame which was triggered by the data arriving to the
socket.</FONT></SPAN></DIV>
<DIV><SPAN class=876591006-31122009><FONT face=Arial color=#0000ff size=2>but if
I feed the framer only in one NAL at the first call to the doDeliverFrame, what
will trigger the call to the next doDeliverFrame (since the socket is now
empty)?</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <B>On Behalf Of </B>Ross
Finlayson<BR><B>Sent:</B> Thursday, December 31, 2009 7:49 AM<BR><B>To:</B>
LIVE555 Streaming Media - development & use<BR><B>Subject:</B> Re:
[Live-devel] Sending lots of NAL's problem<BR></FONT><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial color=#0000ff size=-1>what do
you mean by "</FONT><FONT face=Arial color=#000000>treat the data as a set of
(>=1) NAL units."?</FONT><FONT face=Arial color=#0000ff size=-1> do you
mean that I should read it and use the fNumOfTruncatedBytes if
needed?</FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>No, I just meant that you should - in your socket read handler - read *all*
of the available data from the socket, rather than just one NAL unit's
worth. That way, you'll reduce the number of times that you handle socket
read events, reducing your overhead.</DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV><BR>Ross Finlayson<BR>Live Networks,
Inc.<BR>http://www.live555.com/</DIV>
<DIV><STRONG><FONT color=#000080 size=2></FONT></STRONG> </DIV>
<DIV align=left><STRONG><FONT face=Arial color=#000080 size=2>The information in
this e-mail transmission contains proprietary and business <BR>sensitive
information. Unauthorized interception of this e-mail may constitute <BR>a
violation of law. If you are not the intended recipient, you are hereby
<BR>notified that any review, dissemination, distribution or duplication of this
<BR>communication is strictly prohibited. You are also asked to contact the
sender <BR>by reply email and immediately destroy all copies of the original
message.<BR></FONT></STRONG></DIV>
</BODY></HTML>