2008/9/1 Stefano Sabatini <[EMAIL PROTECTED]>:
>>>I see there is an sdp_session_dup() function, and there are
>>>sdp_printer_free() and sdp_parser_free(), so I was expecting some
>>>method such as sdp_session_free().

>>>Missing that, then I wonder if its absence means something, for
>>>example that there is some convenient method to free an sdp_session_t.

The sdp_*_dup() functions all allocate a single chunk and return
pointer to that. You can free it with su_free().

> Also, I wonder which is the supposed way to fill an SDP from scratch.
> I can't see any specific function for doing that (e.g. add a
> connection, add a media etc.)
> and doing it manually is tedious.

Sorry, there is no functions for building SDP from parts. Your idea of
using text and parsing it is a good one..

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to