[Freeswitch-users] CELT codec code number

Stefan Knoblich stkn at freeswitch.org
Tue Jul 28 15:35:35 PDT 2009


Brian West wrote:
> I totally missed this at first... but 95 wouldn't dynamically work  
> because its not 96-127
> 
> /b
> 

The way to CELT plugin registers should be ok, the code is based on the Speex plugin.

Opal tries to assign a number in the dynamic range first and if nothing is free in that area,
goes backwards starting at 95 to find an empty spot (opal/mediafmt.cxx - OpalMediaFormatInternal::OpalMediaFormatInternal()).

Maybe some of the other codecs is registering a lot of formats without the shared flag set and using up all
dynamic IDs, or there's a problem somewhere in the ID handling code.






More information about the FreeSWITCH-users mailing list