]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge: Don't try to match audio formats.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 18 May 2020 14:05:56 +0000 (11:05 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 21 May 2020 15:37:01 +0000 (10:37 -0500)
commit420d38555e5b0262444b9eba5c32737509b9b931
tree9ce4a7672d32a8a7656211e778efaa9ace5f097f
parentdcad32256223bd4783b0462a14779d97571c7b7c
bridge: Don't try to match audio formats.

When bridging channels we were trying to match the audio
formats of both sides in combination with the configured
formats. While this is allowed in SDP in practice this
causes extra reinvites and problems. This change ensures
that audio streams use the formats of the first existing
active audio stream. It is only when other stream types
(like video) exist that this will result in re-negotiation
occurring for those streams only.

ASTERISK-28871

Change-Id: I22f5a3e7db29e00c165e74d05d10856f6086fe47
bridges/bridge_native_rtp.c
bridges/bridge_simple.c