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"<[email protected]>;
Date: Fri, Jul 9, 2010 05:04 PM
To: "LIVE555 Streaming Media - development & use"<[email protected]>;
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
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel