Skip to content

Expose SDP grammar converters for application-defined attributes - #512

Merged
lo-simon merged 1 commit into
sony:masterfrom
garethsb:feature/sdp-grammar-extensibility
Jul 29, 2026
Merged

Expose SDP grammar converters for application-defined attributes#512
lo-simon merged 1 commit into
sony:masterfrom
garethsb:feature/sdp-grammar-extensibility

Conversation

@garethsb

Copy link
Copy Markdown
Contributor

session_description already accepted custom attribute_converters, but the helper converters needed to build them were internal, and the lifetime of those converters relative to the returned grammar was undocumented. Declare the reusable converters and generators, document the by-reference capture and static-initialization constraints, and add a test that extends the default grammar with a=x-example-foo:<pt> <value>.

Probable merge conflict with #505 - whichever is merged later will need rebasing.

session_description already accepted custom attribute_converters, but
the helper converters needed to build them were internal, and the
lifetime of those converters relative to the returned grammar was
undocumented. Declare the reusable converters and generators, document
the by-reference capture and static-initialization constraints, and add
a test that extends the default grammar with a=x-example-foo.
@garethsb
garethsb force-pushed the feature/sdp-grammar-extensibility branch from 6c4b33e to 11d93c7 Compare July 29, 2026 09:26

@lo-simon lo-simon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lo-simon
lo-simon merged commit b0dcbd5 into sony:master Jul 29, 2026
10 checks passed
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.

2 participants