[h323plus] openmcu hangs when second client accepts invitation
Sander
openmcu at humilis.net
Tue Mar 16 12:34:24 EDT 2010
Dear all,
I'm trying to do a three-way videoconferencing with openmcu.
After inviting two ekiga clients to the same conference room (from
within the webinterface), openmcu hangs.
Hangs means: http://10.0.0.1:1420/Status doesn't refresh anymore (reload
times out eventually) and openmcu has to be killed with -9.
When inviting the first ekiga client, the client sees the openmcu logo
as 'remote video', and that client gets listed on the status page.
When inviting the second ekiga client to the same room, that client sees
it's own video, and 'remote video' is grayed out.
If the second client is invited to a different room from the first
instead, both clients see the openmcu logo (and openmcu doens't hang and
the status page gets refreshed with both clients listed in their rooms).
This all happened back in early february too. Now I found the time to
try again.
I've read al mails in the archive at
http://lists.packetizer.com/pipermail/h323plus/ from november 2009 till
now, but didn't find a similar case.
The system on which all software is compiled and which is running
openmcu, is an up to date Debian Sid (unstable) amd64, and selfcompiled
kernel 2.6.32-rc6.
The clients are a Debian Sid on Intel Core2 Duo and a Debian Sid on ARM
(SheevaPlug).
How can I debug what happens to openmcu? Or is there an obvious mistake
in the steps below?
With kind regards, Sander
# ldd `which openmcu`
linux-vdso.so.1 => (0x00007fff1f1ff000)
libh323_linux_x86_64_.so.1.22.0 => /usr/local/h323plus/lib/libh323_linux_x86_64_.so.1.22.0 (0x00007eff1581c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007eff15606000)
libpt.so.2.9-beta0 => /usr/local/ptlib/lib/libpt.so.2.9-beta0 (0x00007eff150c8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007eff14eac000)
librt.so.1 => /lib/librt.so.1 (0x00007eff14ca4000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007eff14a7b000)
libdl.so.2 => /lib/libdl.so.2 (0x00007eff14877000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007eff14563000)
libm.so.6 => /lib/libm.so.6 (0x00007eff142e0000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007eff140ca000)
libc.so.6 => /lib/libc.so.6 (0x00007eff13d76000)
/lib64/ld-linux-x86-64.so.2 (0x00007eff16278000)
http://10.0.0.1:1420/Status (one client):
Room Name Room Members
Name Duration Codec RTP Packets/Bytes tx RTP Packets/Bytes rx TX Video frame rate/RX Video frame rate
conference Sander 2:07.003 G.711-ALaw-64k/G.711-ALaw-64k 6350/1016000 6391/1022560 10.0007/9.68926
H.261-CIF/H.261-CIF
The steps:
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cvs -d:pserver:anonymous at h323plus.cvs.sourceforge.net:/cvsroot/h323plus login
cvs -z3 -d:pserver:anonymous at h323plus.cvs.sourceforge.net:/cvsroot/h323plus co h323plus
cvs -z3 -d:pserver:anonymous at h323plus.cvs.sourceforge.net:/cvsroot/h323plus co applications
svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk opal
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20100315-2245.tar.bz2
tar jcf ptlib.tar.bz2 ptlib &
tar jcf opal.tar.bz2 opal &
tar jcf h323plus.tar.bz2 h323plus &
tar jcf extensions.tar.bz2 extensions &
tar jcf applications.tar.bz2 applications &
tar jcf ffmpeg.tar.bz2 ffmpeg &
export PKG_CONFIG_PATH=/usr/local/ffmpeg/lib/pkgconfig:/usr/local/ptlib/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/local/ffmpeg/lib:/usr/local/ptlib/lib
export PTLIBDIR=/usr/src/h323/ptlib
export OPENH323DIR=/usr/src/h323/h323plus
export PTLIBPLUGINDIR=/usr/local/ptlib/lib/pwlib
cd /usr/src/h323
tar xf x264-snapshot-20100315-2245.tar.bz2
cd x264-snapshot-20100315-2245
./configure --enable-shared > /dev/null && \
make -j4 > /dev/null && \
make install > /dev/null
cd /usr/src/h323
tar xf ffmpeg.tar.bz2
cd ffmpeg
./configure --prefix=/usr/local/ffmpeg --enable-shared --enable-libx264 \
--enable-libtheora --enable-libvorbis --enable-gpl --enable-decoder=h263 \
--enable-decoder=h263i --enable-decoder=h264 --enable-decoder=theora \
--enable-encoder=h263 --enable-encoder=h263p --enable-encoder=libx264 \
--enable-encoder=libtheora && \
make -j4 > /dev/null && \
make install > /dev/null
ldconfig
cd /usr/src/h323
tar xf ptlib.tar.bz2
cd ptlib
export PTLIBDIR=/usr/src/h323/ptlib
./configure --prefix=/usr/local/ptlib && \
make -j4 > /dev/null && \
make install > /dev/null
cd /usr/src/h323
tar xf h323plus.tar.bz2
cd h323plus
./configure --prefix=/usr/local/h323plus && \
make -j4 > /dev/null && \
make install > /dev/null
cd /usr/local/include
ln -s /usr/local/ffmpeg/include/libavcodec/ ffmpeg
cd /usr/src/h323
cd extensions/plugins
./configure --prefix=/usr/local/ptlib && \
make -j4 > /dev/null && \
make install > /dev/null
cp -a /usr/local/ptlib/lib/pwlib /usr/local/
cd /usr/src/h323
tar xf applications.tar.bz2
cd applications/openmcu/
make -j4 > /dev/null && \
make install > /dev/null
/etc/ld.so.conf.d/openmcu.conf:
/usr/local/h323plus/lib
cd /usr/local/ptlib/lib/pwlib/
ln -s /usr/local/ffmpeg/lib/libavcodec.so
ldconfig
cd
/bin/openmcu -d
--
Humilis IT Services and Solutions
http://www.humilis.net
More information about the h323plus
mailing list