<DIV>i tried to increase the send buffer.but i can't help me.</DIV>
<DIV>one connection has 8mbps.and there must 64 connections at least.</DIV>
<DIV>so you said, i can't finish my job?<includetail></DIV>
<DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ Original ------------------</DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "Ross Finlayson"<finlayson@live555.com>;</DIV>
<DIV><B>Date: </B> Fri, Jul 9, 2010 08:01 PM</DIV>
<DIV><B>To: </B> "LIVE555 Streaming Media - development & use"<live-devel@ns.live555.com>; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B> Re: [Live-devel] live555 rtsp server</DIV></DIV>
<DIV> </DIV>>the code in your project<BR>><BR>>void sendRTPOverTCP(unsigned char* packet, unsigned packetSize,<BR>> int socketNum, unsigned char streamChannelId)<BR>><BR>>if the ::send return error. you mean it is the os configuration's problem?<BR><BR>Perhaps. What error(s) are the "send()" calls returning (i.e., what <BR>"errno" values)?<BR><BR>It's possible that your problem could be fixed (or at least reduced) <BR>by increasing the OS's internal buffer for sending data on the <BR>streams' sockets. You can do this by calling <BR>"increaseSendBufferTo()". Note that - by default - a 50 kByte buffer <BR>is used (see "RTSPServer.cpp"), but you could increase this.<BR><BR>However, even this might not be enough if the failures are occurring <BR>because of excessive network congestion - if the combined bitrates of <BR>your output streams exceed the capacity of your network. If that's <BR>the case, then there's nothing you can do.<BR>-- <BR><BR>Ross Finlayson<BR>Live Networks, Inc.<BR>http://www.live555.com/<BR>_______________________________________________<BR>live-devel mailing list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></DIV></includetail></DIV>