]> git.ipfire.org Git - thirdparty/asterisk.git/commit
rtp_engine.c: Add exception for comfort noise payload.
authorBen Ford <bford@sangoma.com>
Tue, 9 Sep 2025 18:34:39 +0000 (13:34 -0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 11 Sep 2025 14:08:08 +0000 (14:08 +0000)
commit8add74c46277eabdd04f74a3fc7056ca56ba968b
tree886590ab2cad5d34b7acefde2b7d135432049530
parent971beef41c32c301cf843a5b9993affd036af27c
rtp_engine.c: Add exception for comfort noise payload.

In a previous commit, a change was made to
ast_rtp_codecs_payload_code_tx_sample_rate to check for differing sample
rates. This ended up returning an invalid payload int for comfort noise.
A check has been added that returns early if the payload is in fact
supposed to be comfort noise.

Fixes: #1340
main/rtp_engine.c