Hi Michael, Yeah that's a known quirk, and what you're suggesting seems more natural to use. Does anyone object if we change this behavior? cheers, -benny Michael Bradley Jr wrote: > Hi, > > how can i add codecs to pjsua in a more natural order (fifo). > I mean when i add the codec in a particular order i want this order to be > respected and not swapped. > > When i used the following parameters > > --add-codec PCMU --add-codec iLBC --add-codec GSM > > the library should use it like > PCMU > iLBC > GSM > > and not > > GSM > iLBC > PCMU > > what it actually does. > The actual order is always "first in last out"! > > Thanks > Michael