Just to emphasize: if more than one codec is negotiated, then you must 
be prepared to receive RTP packets containing any of them - even a 
mixture. You can send using whichever you want.

        Thanks,
        Paul

Benjamin Jacob wrote:
> Mutliple ways to do it :
> 1. Select the first codec in the list (you have to be prepared to receive any 
> of the common codecs listed in the offer and answer, on the fly),
> 2. Based on your business logic, select the optimum one out, say G729 (you 
> have to be prepared to receive any of the common codecs listed in the offer 
> and answer, on the fly),
> 3. Use codec locking mentioned in rfc3264.txt (Section 10.2 - One of N codec 
> selection). e.g. lock the codec to the type received in the first RTP packet 
> received from the other side.
> 
> - Benjamin Jacob.
> 
> 
> 
> 
> ----- Original Message ----
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, June 20, 2008 9:51:39 AM
> Subject: [Sip-implementors] REG: query related to sdp
> 
> 
> Hi All,
> 
> 
> 
> We are having a query related to sdp . We are establishing a call
> between two clients. If they are exchanging more than one common codec,
> based on what criteria will they select which codec to use.
> 
> 
> 
> Thanks & Regards
> 
> Rajeswari.R
> 
> 
> 
> This e-mail and any files transmitted with it are for the sole use of the 
> intended recipient(s) and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply 
> e-mail and destroy all copies of the original message. 
> Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
> or copying of this email or any action taken in reliance on this e-mail is 
> strictly 
> prohibited and may be unlawful.
> 
>   
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
> 
> 
> 
>       
> 
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
> 
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to