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

remove line which sets payloadType after it was already set #2034

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

hassanctech
Copy link
Contributor

Issue #, if available:
#2029

What was changed?
A single line was removed which re assigns a value to payloadType in the case of h265 codec.

Why was it changed?
There was asymmetric behavior in the code where for h265 we would set the payloadType twice which is confusing for the reader, all other codecs we do not do that.

How was it changed?
The extra line of code which assigned it for a second time was removed.

What testing was done for the changes?
Unit tests / CI. No additional tests were added since no functional behavior was changed.

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

@hassanctech hassanctech requested a review from niyatim23 July 26, 2024 15:10
@hassanctech hassanctech self-assigned this Jul 26, 2024
@hassanctech hassanctech requested a review from stefankiesz July 26, 2024 15:11
@hassanctech hassanctech merged commit 09e3e01 into develop Jul 26, 2024
31 checks passed
@hassanctech hassanctech deleted the remove-double-set-payloadType-for-h265 branch July 26, 2024 23:10
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.

3 participants