> > Suppose offer contains codec a,b,c. Answering party 
> > supports b.c. Based on what criteria Answering party 
> > choose b or c? Answer will contain only one codec. 
> > What is the selection criteria between b and c.
>
> Why do you say the answer will contain only one codec?
> That is not required.

I agree.  The following are some related RFC 3264 snippets.

Section 5.1:

"In all cases, the formats in the "m=" line MUST be listed in order of
 preference, with the first format listed being preferred.  In this
 case, preferred means that the recipient of the offer SHOULD use the
 format with the highest preference that is acceptable to it."

Section 6.1:

"The media formats in the "m=" line MUST be listed in order of preference,
 with the first format listed being preferred.  In this case,
 preferred means that the offerer SHOULD use the format with the
 highest preference from the answer.

 Although the answerer MAY list the formats in their desired order of
 preference, it is RECOMMENDED that unless there is a specific reason,
 the answerer list formats in the same relative order they were
 present in the offer.  In other words, if a stream in the offer lists
 audio codecs 8, 22 and 48, in that order, and the answerer only
 supports codecs 8 and 48, it is RECOMMENDED that, if the answerer has
 no reason to change it, the ordering of codecs in the answer be 8,
 48, and not 48, 8.  This helps assure that the same codec is used in
 both directions."


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to