Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle media attribute parsing without trailing new lines #46

Conversation

clone1018
Copy link
Contributor

@clone1018 clone1018 commented Mar 11, 2024

Fixes a bug where a SDP offer without a trailing new line will fail to parse because the Media.parse_optional/2 function expects an array with a trailing empty string, eg: ["a=foo", "a=bar", ""]. Now it will handle ["a=foo", "b=bar"] too.

Copy link
Member

@mickel8 mickel8 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@mickel8 mickel8 merged commit b4d6d39 into membraneframework:master Apr 12, 2024
1 check passed
@mickel8
Copy link
Member

mickel8 commented Apr 12, 2024

Released as v0.16.0

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