[Sofaswitch-svn] [commit] r217 - in sofaswitch/trunk: am callflow/docs callflow/docs/current mcu voip
Author: derek Date: Tue Nov 21 18:41:02 2006 New Revision: 217 Modified: sofaswitch/trunk/am/audio.cxx sofaswitch/trunk/callflow/docs/current/eachicon.dxy sofaswitch/trunk/callflow/docs/description.dxy sofaswitch/trunk/mcu/audio.cxx sofaswitch/trunk/voip/mymanager.cxx Log: Update documentation on loadnewgraph extend mcu & am to cope with supersized packets. These supersize packets (eg 1280 byte) can be generated by the voip system. Modified: sofaswitch/trunk/am/audio.cxx ============================================================================== --- sofaswitch/trunk/am/audio.cxx (original) +++ sofaswitch/trunk/am/audio.cxx Tue Nov 21 18:41:02 2006 @@ -145,7 +145,7 @@ void AudioWrite::Main() { PBYTEArray data; - data.SetSize(480); + data.SetSize(4800); while (socket->IsOpen()) { socket->Read(data.GetPointer(), data.GetSize()); Modified: sofaswitch/trunk/callflow/docs/current/eachicon.dxy ============================================================================== --- sofaswitch/trunk/callflow/docs/current/eachicon.dxy (original) +++ sofaswitch/trunk/callflow/docs/current/eachicon.dxy Tue Nov 21 18:41:02 2006 @@ -419,15 +419,26 @@ populated by the \ref seubsecEventer item \li \code self.generatedEvents\endcode A list of events we have to examine at the next opportunity -\li \code self.keepGoing \endcode A flag to inidicate that we should keep +\li \code self.keepGoing \endcode A flag to indicate that we should keep working along this graph. If set to \c False , it is equivalent to processing a \ref subsecEndProcessing To send a message to a particular node, you would do \code self.transport.write("remId:the_message \0")\endcode -This may need to be modified to protect the quotes and backslash. + +In the test subdirectory, there is a \c parent.src and \c child.src file, +which are used to illustrate the operation of the "load new graph" item. The +parent runs a for loop, which creates 20 child processes. Each of the 20 child +proceses is the same, and executes a print statement. If you compile +\c parent.src to \c parent.py, and compile \c child.src to \c child.py, and +then do: +\code python parent.py \endcode +what happens? The server will report the creation and termination of 21 new +nodes. Further, analysis of the messages to and from the server shows the +blockiness of the processing. All new nodes are created at the same time, and +setup at the same time. Then, all created child nodes die at the same time. \subsection subsecMakeCall Make a call Make a call to some external entity is indicated by the toolbar icon and drawing area Modified: sofaswitch/trunk/callflow/docs/description.dxy ============================================================================== --- sofaswitch/trunk/callflow/docs/description.dxy (original) +++ sofaswitch/trunk/callflow/docs/description.dxy Tue Nov 21 18:41:02 2006 @@ -11,6 +11,8 @@ \li \ref secEvent \li \ref secUsage + +\section secIntro Introduction The language chosen to control the SofaSwitch utilties is Python. It is reasonably tidy language, cross platform, straightforward syntax and does not have the dependency hell of perl. Sadly nothing is easy, and it takes Modified: sofaswitch/trunk/mcu/audio.cxx ============================================================================== --- sofaswitch/trunk/mcu/audio.cxx (original) +++ sofaswitch/trunk/mcu/audio.cxx Tue Nov 21 18:41:02 2006 @@ -113,7 +113,7 @@ PSafePtr <Member> member = manager->activeMembers.FindWithLock(memberId, PSafeReadOnly); - PINDEX maxSize = 480; + PINDEX maxSize = 4800; PBYTEArray data; data.SetSize(maxSize); PINDEX readSize; Modified: sofaswitch/trunk/voip/mymanager.cxx ============================================================================== --- sofaswitch/trunk/voip/mymanager.cxx (original) +++ sofaswitch/trunk/voip/mymanager.cxx Tue Nov 21 18:41:02 2006 @@ -168,8 +168,8 @@ toDelete += "H.261(QCIF)"; toDelete += "RGB32"; toDelete += "RGB24"; - toDelete += "G.711-uLaw-64k"; - toDelete += "G.711-ALaw-64k"; +// toDelete += "G.711-uLaw-64k"; +// toDelete += "G.711-ALaw-64k"; PStringArray toRemove = args.GetOptionString('D').Lines(); PStringArray toReorder = args.GetOptionString('P').Lines(); toDelete += toRemove;
participants (1)
-
SofaSWITCH SVN