Hi Harry, 1) You can't do it with runtime options, but you can comment out the ones you don't want in l16.c, a bunch are already disabled. 2) Yes, all the dynamic payload types come from a enum in types.h so that each codec uses a unique type. Bill On 12/2/2014 6:17 AM, Harald Radke wrote: > Hi all, > I have two questions regarding media codecs in pjsip: > 1) If I use e.g. the L16 codec (factory) and send out an INVITE, then > the media endpoint puts all supported codec configurations into the > SDP media description. Is there any way to restrict the set of codecs > e.g. using the L16, it offers 44100, 8000 and 16000 Hz with one and > two channels. But what if I only want to restrict it to L16/16000/1? > (Or do I have to clone the L16 codec for the different possible setups > and use only the one appropriate?) > 2) I take it that using dynamic RTP payload types in the SDP media > descriptions must be done in the codec just as with the fixed payload > types and if there are 2 codec factories providing codecs with > dynamic PT one has to take care himself of hardcoding the values > properly to avoid both factories using the same PT? > TIA > Harry > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141202/da9c53a6/attachment.html>