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

Additional testing and associated bug fixes related to H.265 payloader #287

Open
wants to merge 4 commits into
base: h265
Choose a base branch
from

Conversation

@y-kawawa
Copy link
Author

y-kawawa commented Jan 4, 2025

@kevmo314 @Sean-Der @lebedyncrs

Can you please confirm that you have made the corrections associated with the test?

return
}

if len(nalu) <= int(mtu) {
naluLen := len(nalu) + 2
Copy link
Author

Choose a reason for hiding this comment

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

To prevent the MTU size from being exceeded during aggregation packet, the size is compared by adding 2 bytes for the aggregation header.


if aggregationBufferSize+marginalAggregationSize > int(mtu) {
flushBufferedNals()
marginalAggregationSize = calcMarginalAggregationSize(nalu)
Copy link
Author

Choose a reason for hiding this comment

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

After flushing, recalculate because the margin conditions change.

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.

1 participant