]> git.ipfire.org Git - thirdparty/asterisk.git/commit
audiohook.c: resolving the issue with audiohook both reading when packet loss on...
authorTinet-mucw <mucw@ti-net.com.cn>
Thu, 22 Aug 2024 06:42:19 +0000 (14:42 +0800)
committerTinet-mucw <mucw@ti-net.com.cn>
Mon, 2 Dec 2024 20:21:53 +0000 (20:21 +0000)
commit3ac5f82d4919e7d4313eba82615562964e97c6c5
treecfa810589ea28bd1490670eb41b2a6148083956e
parent424e4ee761c7079725738588f90b07bc8a128774
audiohook.c: resolving the issue with audiohook both reading when packet loss on one side of the call

When there is 0% packet loss on one side of the call and 15% packet loss on the other side, reading frame is often failed when reading direction_both audiohook. when read_factory available = 0, write_factory available = 320; i think write factory is usable read; because after reading one frame, there is still another frame that can be read together with the next read factory frame.

Resolves: #851
main/audiohook.c