<!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=377260505-31122009><FONT face=Arial color=#0000ff size=2>Thanks
Ross,</FONT></SPAN></DIV>
<DIV><SPAN class=377260505-31122009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=377260505-31122009><FONT face=Arial color=#0000ff size=2>what
do you mean by "<FONT size=3><FONT color=#000000>treat the data as a set of
(>=1) NAL units."? <X-SIGSEP></FONT></FONT>do you mean that I should read it
and use the fNumOfTruncatedBytes if needed? </FONT></SPAN><SPAN
class=377260505-31122009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></DIV>
<DIV><SPAN class=377260505-31122009><FONT face=Arial color=#0000ff size=2>My
hardware is alreay generating NAL's with the correct size.</FONT></SPAN></DIV>
<DIV><SPAN class=377260505-31122009><FONT face=Arial color=#0000ff size=2>what
is the correct way if I want to work with discrete NAL? how can I force the
live555 fragmenter to use my NAL sizes?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=377260505-31122009></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>A<SPAN
class=377260505-31122009>mit.</SPAN></FONT></FONT></FONT><BR></DIV>
<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> Wednesday, December 30, 2009 3:08 PM<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 size=-1>I see that the
schedualer is launching my deliverFrame about every 1-2msec, when I got
multiple descriptors in the socket.</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>The problem is that
when I got lost of descriptors (~80) this can take up to 160 msec which
is way beyond my frame size which is 40 msec (PAL)</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>1. Am I doing this
wrong?</FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Because you are reading your input data from a socket, you should not
assume that the input socket data consists of discrete NAL units. Instead,
each time you should read as much data as you can from the socket (remember to
make it non-blocking), and treat the data as a set of (>=1) NAL
units.</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>