]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[core] eavesdrop: init L16 codec at right ptime in certain conditions.
authorDragos Oancea <dragos@signalwire.com>
Fri, 4 Sep 2020 08:57:28 +0000 (08:57 +0000)
committerAndrey Volk <andywolk@gmail.com>
Tue, 16 Mar 2021 21:47:27 +0000 (00:47 +0300)
commit5aabb54f68f495bfd51c083bd89d4fdaa1a9ba6c
tree9f43c6a479d5c26f1a74dbf43a39183135583793
parent3509ae537e944b967d29f23340baf358ade4314c
[core] eavesdrop: init L16 codec at right ptime in certain conditions.

[core] eavesdrop: avoid eavesdropping on itself and return error.

[core] eavesdrop: adjust buffer operations for ptime mismatch and for when ptimes are the same.

[core] eavesdrop: add buffering based on LCM (Least Common Multiple) when ptime mismatch,
and have audio write thread enabled when ptime eavesdropee < ptime eavesdropper.

[unit-tests] add unit-tests for eavesdrop.
src/switch_ivr_async.c
tests/unit/Makefile.am
tests/unit/conf_eavesdrop/freeswitch.xml [new file with mode: 0644]
tests/unit/conf_eavesdrop/gw/eavestest.xml [new file with mode: 0644]
tests/unit/switch_eavesdrop.c [new file with mode: 0644]