]> 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:58 +0000 (20:21 +0000)
commita37bac6b867dadad387985fc464503715a380146
tree8bb012f2cedd38d5c3f4066fc3fc2d1aaa9009f1
parent01cbaffbdfadff30aad43541b505ed37e02d7a2b
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