]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge: Fix stream topology/participant locking and video misrouting.
authorJoshua Colp <jcolp@digium.com>
Sun, 6 Aug 2017 16:15:34 +0000 (16:15 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 6 Aug 2017 16:17:42 +0000 (11:17 -0500)
commit0e352ec5100331c6a32008acc88d69d0fc58ccdd
tree894b0b4f9ec41179228efbad45d31ddc5d40ca2c
parent2014a695f735d14456b5631bec9e2a32a8226609
bridge: Fix stream topology/participant locking and video misrouting.

This change fixes a few locking issues and some video misrouting.

1. When accessing the stream topology of a channel the channel lock
must be held to guarantee the topology remains valid.

2. When a channel was joined to a bridge the bridge specific
implementation for stream mapping was not invoked, causing video
to be misrouted for a brief period of time.

ASTERISK-27182

Change-Id: I5d2f779248b84d41c5bb3896bf22ba324b336b03
bridges/bridge_softmix.c
main/bridge.c
main/bridge_channel.c