List Info

Thread: Re: simple-opal




Re: simple-opal
country flaguser name
Germany
2007-02-06 07:20:06
hi,

i tracked down the problem of the black window to 2
deadlocks

the first one happens in call.cxx at the end of
OpalCall::OnConnected, where the mediastreams can't be
started:
for (PSafePtr<OpalConnection> conn =
connectionsActive; conn != NULL; ++conn)
   conn->StartMediaStreams();

after i have replaced this with
for (int i = 0; i < connectionsActive.GetSize(); i++)
   connectionsActive.GetAt(i
PSafeReadOnly)->StartMediaStreams();
sip-connections now work for me

the second deadlock happens in patch.cxx at the beginning of
OpalMediaPatch::SetCommandNotifier:
if i comment the following line out
PWaitAndSignal mutex(inUse);
h323-connections work as well

i've done all of this under windows, so i don't know about
linux ..

Jan
------------------------------------------------------------
------------
Check the FAQ before asking! - http://www.
openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To
unsubscribe or
change your subscription options, goto
htt
p://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------
------------

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )