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

Grow buffer as needed when generating SDPs (fixes #2791, see #2793) #2797

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

lminiero
Copy link
Member

@lminiero lminiero commented Nov 4, 2021

This patch tries to address #2791 the same way we handled it in the multistream branch, that is by using static buffers just for the m-line, and growing the whole SDP as needed. While less flexible than #2793, this should be a simpler fix that requires no new method, and so no changes to the signatures of the methods we use.

@JanFellner
Copy link
Contributor

Looking good. Please merge :)

@lminiero
Copy link
Member Author

lminiero commented Nov 8, 2021

Made some tests and it seems to be ok, merging ✌️

@lminiero lminiero merged commit 326b00c into master Nov 8, 2021
@lminiero lminiero deleted the sdp-size branch November 8, 2021 11:17
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