On Sun, Oct 11, 2009 at 3:41 PM, Samuel Vinson <samuelv at laposte.net> wrote: > Hello, > > The pjmedia_codec_mgr_set_codec_priority function uses pj_strnicmp2 to > compare the codec names. > > So when you disabled g722 codec you use G722 string and it's the same > beginning of g722.1 (G7221). > The G722's full codec name is "G722/16000/1", so you could use something like "G722/". But it's true that there are cases where it's not possible to pinpoint a specific codec, for example when the very same codec has more than one implementations (e.g. for G7221 we have an internal implementation and another from IPP). -benny