Hello,

Do you know why SOATAG_ORDERED_USER(1) is not working for me?  I tried
adding it to the nua_create(), nua_invite(), and nua_register() calls, but
any outbound INVITE does not preserve the order of my (a) SDP lines.

Best Regards,
Jerry


-----Original Message-----
From: Pekka Pessi [mailto:ppe...@gmail.com] 
Sent: Monday, March 02, 2009 8:30 AM
To: Jerry Richards
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: [Sofia-sip-devel] Ordering of SDP Fields

2009/2/27 Jerry Richards <jer...@tonecommander.com>:
> When my application specifies the SDP in the SOATAG_USER_SDP(), I 
> noticed sofia-sip sometimes reorders the lines of the SDP in the 
> message that is actually transmitted.  Do you know why this is?  Does the
order matter?

The order matters - the order of m= lines should be same in answer as it is
in offer. Sofia SIP tries to reorder your user SDP so that the m= lines on
answer match those on offer, like, if you support audio and video, but offer
contains

m=image
m=video
m=audio

dummy image line is generated and your video line is before the audio line.
You can change the behaviour with SOATAG_ORDERED_USER().

--
Pekka.Pessi mail at nokia.com


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to