[Live-devel] live555 rtsp server

44072429 44072429 at qq.com
Sat Jul 10 07:42:45 PDT 2010


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"<finlayson at live555.com>;
 Date:  Fri, Jul 9, 2010 08:01 PM
 To:  "LIVE555 Streaming Media - development & use"<live-devel at ns.live555.com>; 
 
 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
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100710/48833d8a/attachment.html>


More information about the live-devel mailing list