[Live-devel] live555 rtsp server

44072429 44072429 at qq.com
Fri Jul 9 02:29:13 PDT 2010


my friend.
 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?
   
  
  ------------------ Original ------------------
  From:  "Ross Finlayson"<finlayson at live555.com>;
 Date:  Fri, Jul 9, 2010 05:04 PM
 To:  "LIVE555 Streaming Media - development & use"<live-devel at ns.live555.com>; 
 
 Subject:  Re: [Live-devel] live555 rtsp server

  
>i am using mediaServer to develop one rtsp server with realtime 
>video stream show.
>
>but when i finished coding.and begun to test.
>
>i found it hardly run well when lots of clients connect in.
>
>i check your code and found . there is only one thread to poll the event.

If you had read the FAQ - as you were asked to before you subscribed 
to this mailing list - then you would already have known this without 
having to look at the code :-)


>  so how to use mutithread type run your event loop?

You don't.  (Read the FAQ!)  LIVE555 applications use a 
single-threaded event loop - rather than threads - for concurrency.

However, this is irrelevant, because I very much doubt that the 
performance problems with your server are due to it being CPU-bound. 
Instead, it's more likely that your problem is either (i) your 
available network bandwidth, or (ii) OS-imposed limits on the number 
of open sockets (if so, you can probably increase these limits by 
reconfiguring your OS).
-- 

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/20100709/4b587b4d/attachment.html>


More information about the live-devel mailing list