6 Apr
2009
6 Apr
'09
6:20 p.m.
Hi, ----- "Anthony Minessale" <anthony.minessale@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