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

Add support for the VLA RTP header extension #2263

Merged
merged 11 commits into from
Dec 12, 2024
Merged

Conversation

bgrozev
Copy link
Member

@bgrozev bgrozev commented Dec 12, 2024

  • feat: Add BitReader utilities and tests.
  • feat: Add a parser for the VLA RTP header extension.
  • ref: Remove unused function.
  • feat: Update layers with info found in VLA.
  • feat: Add an option to use targetBitrate instead of measured bitrate for allocation

Copy link
Member

@JonathanLennox JonathanLennox left a comment

Choose a reason for hiding this comment

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

You'll want to make sure the VLA is forwarded by HeaderExtStripper on Octo links, but probably it's not needed to be sent down to endpoints?

)
)
}
context("VP9 SVC (witt resolutions)") {
Copy link
Member

Choose a reason for hiding this comment

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

Typo, "witt"

)
}
context("Invalid VLAs") {
parse(0x00) shouldBe emptyList()
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to do anything to log about invalid VLAs?

if (layer.height > 0 && layer.height != res.height) {
logger.warn("Updating layer height from ${layer.height} to ${res.height}")
}
if (layer.frameRate > 0.0 && layer.frameRate != res.maxFramerate.toDouble()) {
Copy link
Member

Choose a reason for hiding this comment

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

I feel like this one's likely to trigger a lot in practice, have you looked for it?

@bgrozev bgrozev merged commit c7ef8e6 into jitsi:master Dec 12, 2024
4 checks passed
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