Skip to content

Backport "support 'all' codec accept mode"#2120

Open
orgads wants to merge 2 commits into
sipwise:mr26.0from
audiocodes:backport-publish-all
Open

Backport "support 'all' codec accept mode"#2120
orgads wants to merge 2 commits into
sipwise:mr26.0from
audiocodes:backport-publish-all

Conversation

@orgads

@orgads orgads commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Backport to mr26.0.

orgads added 2 commits June 11, 2026 15:02
Add RED (RFC 2198) codec definition to codeclib as a supplemental codec.
Modify codec_store_accept_one() to preserve supplemental codecs whose
clock rate matches the accepted primary codec. Skip supplemental codecs
in codec_store_is_full_answer() since they are optional in SDP answers.

Closes sipwise#2100

Change-Id: Ie81f45091c5d3dc55e20896d5a6e7a8361fda2f4
(cherry picked from commit b87ae58)
Add the 'all' keyword for the codec accept option in publish mode:
- 'all': keep all codecs supported for transcoding and their
  supplemental codecs, removing only unsupported ones
- 'all' + 'any': keep all codecs from the offer without removing any

Closes sipwise#2105

Change-Id: Ic271a5e461703e3b9dba3c0717bfbb9da89a03ca
(cherry picked from commit 4be228b)
@orgads

orgads commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@rfuchs I'm not sure about your backport policy, but I'd love to have this in mr26.0, so I can use binary packages instead of maintaining patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant