Hello,

On Wed, 21 Dec 2005, Kai Vehmanen wrote:

here's some random notes about the farsight-netsocket.h interface I'm currently working on. Very shortly put, farsight-netsocket is a async, gobject-based API to create and bind datagram sockets for media (like RTP use). I'll integrate this stuff to the new farsight branch with initially two

ok, the implementation has slowly progressed, and I now committed the first set of stuff to the sofsip darcs repo (tagged with 'snapshot-20051230') at:

  http://dev-126.openlaboratory.net/repos/sofsip-cli-gst/

The files 'farsight-netsocket*.[ch]' are temporarily in this tree, but designed from the start to be integrated to the farsight library (already have a working copy of farsight with the netsocket stuff integrated to the build system).

Anyways, I have initial implementation for plain bind() backend, as well as a STUN backend based on the Sofia STUN client library. Calls with Sofsip using STUN do not yet fully work, but the STUN discovery process is performed asynchronously, and I can fetch the public contact port and put in the SDP offer sent by Sofsip (yay!). But, but, many things still to be done, of course (see the 'Todo' lists, and search for 'XXX' in each source file).

Anyways, please take a look at src/farsight-netsocket.h (and how it is used in ssc_gst.c), and comment. Now's a good time to spot possible major issues with the interface. Otherwise, I'll finish the remaining details, build a simple test network with a few NATs and test the code with Sofsip, and then integrate it to the RTP plugin Rob's been working on.

PS After this code is ready, it's time to really push bugzilla item
   http://bugzilla.gnome.org/show_bug.cgi?id=323021 , and see if it
   needs to be improved in any way.

--
 under work: Sofia-SIP at http://sofia-sip.sf.net


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Reply via email to