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

Fix bug that would cause VP9/AV1 simulcast not to be routed properly after a switch. #2101

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

JonathanLennox
Copy link
Member

No description provided.

@@ -228,6 +228,9 @@ class Av1DDAdaptiveSourceProjectionContext(

private fun frameIsNewSsrc(frame: Av1DDFrame): Boolean = lastAv1FrameProjection.av1Frame?.matchesSSRC(frame) != true

private fun frameIsProjectable(frame: Av1DDFrame): Boolean =
frameIsProjectable(frame) || frame.index >= lastFrameNumberIndexResumption
Copy link
Member

Choose a reason for hiding this comment

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

Is this supposed to be frameIsNewSsrc instead to frameIsProjectable?

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right, thank you!

@@ -228,6 +228,9 @@ class Av1DDAdaptiveSourceProjectionContext(

private fun frameIsNewSsrc(frame: Av1DDFrame): Boolean = lastAv1FrameProjection.av1Frame?.matchesSSRC(frame) != true

private fun frameIsProjectable(frame: Av1DDFrame): Boolean =
frameIsProjectable(frame) || frame.index >= lastFrameNumberIndexResumption
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't seem right. Does it need to call frameIsNewSsrc like vp9?

Copy link
Member Author

Choose a reason for hiding this comment

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

Damian also caught this...autocomplete error.

Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (a015be9) 44.23% compared to head (707371c) 44.23%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2101      +/-   ##
============================================
- Coverage     44.23%   44.23%   -0.01%     
- Complexity     1927     1931       +4     
============================================
  Files           340      340              
  Lines         18823    18826       +3     
  Branches       2580     2580              
============================================
+ Hits           8327     8328       +1     
  Misses         9639     9639              
- Partials        857      859       +2     
Files Coverage Δ
...dge/cc/av1/Av1DDAdaptiveSourceProjectionContext.kt 62.87% <33.33%> (-0.09%) ⬇️
...ridge/cc/vp9/Vp9AdaptiveSourceProjectionContext.kt 65.38% <0.00%> (-0.26%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a015be9...707371c. Read the comment docs.

@JonathanLennox JonathanLennox merged commit 68ea282 into jitsi:master Feb 20, 2024
3 of 5 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.

3 participants