[Freeswitch-dev] Fwd: [Freeswitch-users] codecs initialization flags in endpoint modules
Matteo
mbrancaleoni at voismart.it
Mon Apr 6 11:20:26 PDT 2009
Hi,
----- "Anthony Minessale" <anthony.minessale at gmail.com> ha scritto:
> did you test it in scenarios where the ptime is mismatched, every
> combination of sample rate transcoding, eavesdroping on a channel in
> all the above situations?
no, not at all
> It would require a full suite of testing to confirm.
I agree.
> switch_core_io.c:432 does use read_codec for encode
>
> i think cases arise where it does need both but we could change the
> code to delay when it inits until the
> first time it needs it instead so it would only take place when
> necessary.
the question arose investigating the wrong resource usage of
dadhi codec, since it allocs 2 resources for every call.
maybe the issue is somewhere else?
regards,
matteo
More information about the Freeswitch-dev
mailing list