Here is my patch against ooh323c.  There are some auto-generated files
in here, but for the most part it is clean.

http://www.candelatech.com/oss/ooh323c.patch

Changes include:

* use libsndfile instead of custom hacked wav file read/write logic.
  This will support a very wide range of file formats and codecs going forward.
* remove all use of threads  (provide setFds() and doTick() methods instead)
* Use media/ logic as regular shared library..dlls have small benefit IMHO.
* Add callbacks to the RTP stack, and make it more like a real RTP stack with 
20ms between
  160 byte frames, etc.
* Remove threads from media/ logic as well.
* Compile with -Wall and fixed almost all compile warnings ( a few were real 
bugs)
* Tested compile and functionality on windows (mingw cross-compiler on Linux)
  and Linux.  libsndfile is a PITA to get compiling under mingw now..the 
developer
  is working on a fix.
* Allow binding to specific IP addresses and (optionally) Interfaces as well.

I upgraded one of the tests to use the new API, but have not actually tried it
out (compile tested only).

There are various other changes as well.  Please consider any/all of this for 
inclusion into
the official product.  I'm fine with assigning copyright of this patch to the 
project since
you run dual GPL + proprietary licensing schemes.
If you wish to re-introduce threads, it could be done by adding
back the while(1) run loop and could call the setFds() and doTick() methods.  
Locking
can remain in well defined areas, hopefully outside the core of the system so 
that we
can easily compile --without-pthreads or similar.

Please let me know what you think.

Thanks,
Ben

--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc  http://www.candelatech.com



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
ooh323c-devel mailing list
ooh323c-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ooh323c-devel

Reply via email to