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

SDP Attribute Fixes #2082

Merged
merged 4 commits into from
Nov 22, 2024
Merged

SDP Attribute Fixes #2082

merged 4 commits into from
Nov 22, 2024

Conversation

stefankiesz
Copy link
Contributor

@stefankiesz stefankiesz commented Nov 20, 2024

Original PR:

Issue #, if available:

What was changed?
(in addition to original PR changes)

  • Removed the duplication of the nack pli attribute for h.264.
  • Added the rtcp-fb attribute name for h.265.
  • Added the following to the unit tests:
    • nack pli and nack attribute lines used to validate SDP now end with an SDP_LINE_SEPARATOR ("\r\n") to consider that one of the lines might be a substring of another.
    • Validate that both the nack pli and nack lines are present in the SDP. Previously, the test passed if one of them was missing.

Why was it changed?
To correct the above issues and properly test that nack pli and nack feedback attributes are set in the SDP.

How was it changed?
By making the appropriate SDP changes and accounting for missed cases in the tests.

What testing was done for the changes?

  • Test passed locally.
  • CI to pass.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

* fix nack pli overwrite bug

* create generic strings instead of hard coding

* remove stale comment in tests
@stefankiesz stefankiesz changed the base branch from main to develop November 20, 2024 18:40
@stefankiesz stefankiesz changed the title Fix Nack Pli Overwrite Bug Fix Nack PLI Overwrite Bug, Fix Duplicate Attributes and Missing Attribute Name Nov 20, 2024
@stefankiesz stefankiesz changed the title Fix Nack PLI Overwrite Bug, Fix Duplicate Attributes and Missing Attribute Name SDP Attribute Fixes Nov 20, 2024
@stefankiesz stefankiesz marked this pull request as ready for review November 20, 2024 23:07
@sirknightj sirknightj added the bug Something isn't working label Nov 21, 2024
@stefankiesz stefankiesz merged commit 2815eac into develop Nov 22, 2024
27 checks passed
@stefankiesz stefankiesz deleted the fix-bug-nack-pli-overwrite-sk branch November 22, 2024 19:12
@unicornss
Copy link
Contributor

end-to-end testing should confirm the functionality of both H.264 and H.265 pipelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.11.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants