]> 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 Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:46:27 +0000 (18:46 +0000)
commitb4acea98212ede2ecb63b4908effb87c4fc15e09
tree969540e02cd58de8f54bb42698c6050ff5fe785d
parent489a05f269e005242027ab47d37fb6b6a1651989
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
(cherry picked from commit 1272c28a0d9c140d28c35c444b45d49a5f99c711)
bridges/bridge_softmix.c