]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_softmix: Fix queueing VIDUPDATE control frames
authorGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Jul 2024 16:44:17 +0000 (10:44 -0600)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Fri, 19 Jul 2024 16:47:12 +0000 (16:47 +0000)
commitbc054160041695e92e01ea89ef1309311eb12102
tree2fdc1d9def928455b870d25752a1ab029475ab9e
parent55f4e6dd03155378ec655f0f186ca6119eeeb147
bridge_softmix: Fix queueing VIDUPDATE control frames

softmix_bridge_write_control() now calls ast_bridge_queue_everyone_else()
with the bridge_channel so the VIDUPDATE control frame isn't echoed back.

softmix_bridge_write_control() was setting bridge_channel to NULL
when calling ast_bridge_queue_everyone_else() for VIDUPDATE control
frames.  This was causing the frame to be echoed back to the
channel it came from.  In certain cases, like when two channels or
bridges are being recorded, this can cause a ping-pong effect that
floods the system with VIDUPDATE control frames.

Resolves: #780
bridges/bridge_softmix.c