]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 30 Oct 2025 16:07:53 +0000 (16:07 +0000)
commit95cd6b16a97b356c03a6bb2529cd5a10f062d21d
tree5ab0971b598d69e66abc7d843a5ae0fd7dcc604e
parenta48e34108e8341e835a16da4cb24552067757d40
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