[Live-devel] Problem with recording many streams
xavier
xvr at xvr.net
Mon May 30 19:17:55 PDT 2005
Hello,
I'm using OpenRTSP to record several streams at once. My problem is
that as the number of streams grows, at some point one of the
instances of OpenRTSP goes berserk and grabs 99% of the CPU.
Upon investigation, it turns out that it is attempting to allocate an
even port number for the client, and keeps trying to do so until
socket() returns one. Unfortunately, an even port number is never
returned, and so the openRTSP instance sits there busy looping.
This happens in:
MediaSession::initiate()
Any ideas as to why this is happening? I'm running Fedora Core 3.
$ cat /proc/version
Linux version 2.6.9-1.667smp (bhcompile at tweety.build.redhat.com) (gcc
version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 SMP Tue Nov 2
14:59:52 EST 2004
Thanks,
-x-
--
I see no progress in this industry. These clocks are no faster than
the ones they made a hundred years ago.
-- Henry Ford on clocks
More information about the live-devel
mailing list