Dear All,

I'm new to sofia-sip. I have checked the sofia-cli and APIs in
sofia-sip/sdp.h. I found there are not any APIs for me to create an
initial SDP. In most examples, the local SDP is hard coded like:
static int priv_static_capabilities_base(SscMedia *sscm, char **dest)
{
  if (dest)
    *dest = g_strdup("v=0\nm=audio 0 RTP/AVP 0\na=rtpmap:0 PCMU/8000");

  return 0;
}
I guess I can generate a local SDP using sprintf by printing the v=,
m= lines, but I want to know are there any other ways to get the local
SDP message by sofia-sip APIs?I mean using the APIs to generate the
v=, m=, a= lines. Thanks.

Br,

Chris Han

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to