|
From: Robert J. <rob...@bi...> - 2003-06-14 06:39:32
|
On Thu, 12 Jun 2003 19:48:42 -0400 ero...@di... wrote: > I've working in trying to detect when a logical channel doesnt start. My > app currently waits for 4 channels to start before running the external > applications. Mmm, tricky. > I found the H323Connection::OnReceivedCapabilitySet() method, so i though > that looking at the the remote's side capabilities i could match it with > the local capabilities and figure out which channels would came alive and > which ones not. > > It works, but only if the call is transmitting in both ways (transmit and > recieve audio/video). If the call is asymetric (gnomemeeting only > transmitting video to me), my algorithm fails. But then i found a > GetCapabilityDirection() in the capability, but it always tells me that > the gnomemeeting capabilities are in mode recieve. This is the code i use > in OnRecievedCapabilitySet(): Capability sets are very complicated, and probably not suitable for your purpose. The easiest way is to override OnStartLogicalChannel() and count the channels opened. Ofg course you will need a timer of some sort external to this to catch when the channels have NOT been opened. ----- Robert Jongbloed OpenH323 & OPAL Architect. |