i tried to increase the send buffer.but i can't help me.
 one connection has 8mbps.and there must 64 connections at least.
 so you said, i can't finish my job?
   
  ------------------ Original ------------------
  From:  "Ross Finlayson"<[email protected]>;
 Date:  Fri, Jul 9, 2010 08:01 PM
 To:  "LIVE555 Streaming Media - development & use"<[email protected]>; 
 
 Subject:  Re: [Live-devel] live555 rtsp server

  
>the code in your project
>
>void sendRTPOverTCP(unsigned char* packet, unsigned packetSize,
>                     int socketNum, unsigned char streamChannelId)
>
>if the ::send return error. you mean it is the os configuration's problem?

Perhaps.  What error(s) are the "send()" calls returning (i.e., what 
"errno" values)?

It's possible that your problem could be fixed (or at least reduced) 
by increasing the OS's internal buffer for sending data on the 
streams' sockets.  You can do this by calling 
"increaseSendBufferTo()".  Note that - by default - a 50 kByte buffer 
is used (see "RTSPServer.cpp"), but you could increase this.

However, even this might not be enough if the failures are occurring 
because of excessive network congestion - if the combined bitrates of 
your output streams exceed the capacity of your network.  If that's 
the case, then there's nothing you can do.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to