<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Sending speed is not
enough</title></head><body>
<blockquote type="cite" cite><font face="Arial"
size="-1"> LIVE555 will do "select()"
before sending every packet of a frame(any task in
fact).</font></blockquote>
<div><br>
Correct.</div>
<div><br>
<br>
</div>
<blockquote type="cite" cite><font face="Arial"
size="-1"> It spends extra times,
especially when the frame size is big.</font></blockquote>
<div><br>
No it doesn't.</div>
<div><br>
<br>
</div>
<blockquote type="cite" cite> <font
face="Arial" size="-1">Maybe another reason is that my CPU is not fast
enough.</font></blockquote>
<div><br></div>
<div>Conceivably, but if that's the case, network streaming is
unlikely to be the limiting factor.</div>
<div><br>
<br>
</div>
<blockquote type="cite" cite><font face="Arial"
size="-1"> On my slow CPU (200MHz), it is
difficult to send a real time streaming of JPEG / 20Mbps, even in
a local network.</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1"> (* I aware that JPEG is a bad format
for real time streaming.)</font></blockquote>
<blockquote type="cite" cite> <font
face="Arial" size="-1">But it works fine when I stream it via HTTP
(sending a frame by select() once and send()
once).</font></blockquote>
<blockquote type="cite" cite> </blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1"> Is it really necessary to
"select()" for every packet? or any
advise?</font></blockquote>
<div><br></div>
<div>The rate at which our server sends packets is determined entirely
by the value of "fDurationInMicroseconds" that you set (for
each JPEG frame) in the object that feeds into your
"JPEGVideoRTPSink". It has nothing to do with the
calls to "select()".</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>